Skip to content

Commit

Permalink
rename method, “regular” lacks meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss committed Jul 12, 2018
1 parent 2809c80 commit c8fc4fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Redis/Connectors/PhpRedisConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function establishConnection($client, array $config)
{
($config['persistent'] ?? false)
? $this->establishPersistentConnection($client, $config)
: $this->establishNonPersistentConnection($client, $config);
: $this->establishTemporaryConnection($client, $config);
}

/**
Expand Down Expand Up @@ -123,7 +123,7 @@ protected function establishPersistentConnection($client, array $config)
* @param array $config
* @return void
*/
protected function establishNonPersistentConnection($client, array $config)
protected function establishTemporaryConnection($client, array $config)
{
$client->connect(
$config['host'],
Expand Down

0 comments on commit c8fc4fe

Please sign in to comment.