Skip to content

Commit da7b006

Browse files
committed
reformatting connector
1 parent 2462b1c commit da7b006

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Illuminate/Queue/Connectors/BeanstalkdConnector.php

+6-5
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ public function connect(array $config)
3131
*/
3232
protected function pheanstalk(array $config)
3333
{
34-
$port = Arr::get($config, 'port', PheanstalkInterface::DEFAULT_PORT);
35-
$timeout = Arr::get($config, 'timeout', Connection::DEFAULT_CONNECT_TIMEOUT);
36-
$persistent = Arr::get($config, 'persistent', false);
37-
38-
return new Pheanstalk($config['host'], $port, $timeout, $persistent);
34+
return new Pheanstalk(
35+
$config['host'],
36+
Arr::get($config, 'port', PheanstalkInterface::DEFAULT_PORT),
37+
Arr::get($config, 'timeout', Connection::DEFAULT_CONNECT_TIMEOUT),
38+
Arr::get($config, 'persistent', false)
39+
);
3940
}
4041
}

0 commit comments

Comments
 (0)