@@ -64,7 +64,7 @@ |
||
| 64 | 64 | */ |
| 65 | 65 | public function hasProcessor($commandClassName) |
| 66 | 66 | { |
| 67 | - return parent::hasProcessor($commandClassName) || array_key_exists($commandClassName, $this->serviceIds) ; |
|
| 67 | + return parent::hasProcessor($commandClassName) || array_key_exists($commandClassName, $this->serviceIds); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | ->isRequired() |
| 47 | 47 | ->requiresAtLeastOneElement() |
| 48 | 48 | ->validate() |
| 49 | - ->ifTrue(function (array $value) { |
|
| 49 | + ->ifTrue(function(array $value) { |
|
| 50 | 50 | return !array_key_exists('default', $value); |
| 51 | 51 | }) |
| 52 | 52 | ->thenInvalid('Default service not present') |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | ->scalarNode('send_driver') |
| 57 | 57 | ->isRequired() |
| 58 | 58 | ->validate() |
| 59 | - ->ifTrue(function ($value) { |
|
| 59 | + ->ifTrue(function($value) { |
|
| 60 | 60 | return !preg_match('/^@[a-zA-Z\.\-0-9\_]+$/', $value); |
| 61 | 61 | }) |
| 62 | 62 | ->thenInvalid('Malformed service ID "%s"') |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | )); |
| 58 | 58 | } |
| 59 | 59 | if (!$container->hasDefinition($sendServiceId)) { |
| 60 | - throw new InvalidArgumentException('Non existing send driver service provided: ' . $poolData['send_driver'].'.'); |
|
| 60 | + throw new InvalidArgumentException('Non existing send driver service provided: '.$poolData['send_driver'].'.'); |
|
| 61 | 61 | } |
| 62 | 62 | $sendDriverReflection = new ReflectionClass($container->getDefinition($sendServiceId)->getClass()); |
| 63 | 63 | if (!$sendDriverReflection->implementsInterface(SendDriverInterface::class)) { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | private function setupSingleQueueManager($id, Definition $def, array $tags, array $pools) |
| 87 | 87 | { |
| 88 | 88 | if (count($tags) > 1) { |
| 89 | - throw new InvalidArgumentException('Only single ' . self::QUEUE_MANAGER_TAG . ' tag possible on service ' . $id.'.'); |
|
| 89 | + throw new InvalidArgumentException('Only single '.self::QUEUE_MANAGER_TAG.' tag possible on service '.$id.'.'); |
|
| 90 | 90 | } |
| 91 | 91 | if (!empty($tags[0]['pool'])) { |
| 92 | 92 | $poolName = $tags[0]['pool']; |