@@ -24,7 +24,7 @@ |
||
| 24 | 24 | { |
| 25 | 25 | $keys = array_intersect_key($parameters, array_flip($this->requiredFields)); |
| 26 | 26 | |
| 27 | - if (count($this->requiredFields) != count($keys)) { |
|
| 27 | + if (count($this->requiredFields) != count($keys)) { |
|
| 28 | 28 | throw new JsonRpcInvalidParamsException(); |
| 29 | 29 | } |
| 30 | 30 | |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | public function testLoadRouteInstance() |
| 13 | 13 | { |
| 14 | 14 | $parser = $this->createParser(); |
| 15 | - $path = __DIR__ . '/../../app/config'; |
|
| 15 | + $path = __DIR__.'/../../app/config'; |
|
| 16 | 16 | $loader = new YamlRpcLoader($this->getContainer(), $path, $parser); |
| 17 | 17 | $methodCollection = $loader->load('rpc_routing.yml'); |
| 18 | 18 | $method = $methodCollection->get('cmobi_rabbitmq'); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | public function testLoadRouteName() |
| 24 | 24 | { |
| 25 | 25 | $parser = $this->createParser(); |
| 26 | - $path = __DIR__ . '/../../app/config'; |
|
| 26 | + $path = __DIR__.'/../../app/config'; |
|
| 27 | 27 | $loader = new YamlRpcLoader($this->getContainer(), $path, $parser); |
| 28 | 28 | $methodCollection = $loader->load('rpc_routing.yml'); |
| 29 | 29 | $method = $methodCollection->get('cmobi_rabbitmq'); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $kernel |
| 42 | 42 | ->expects($this->any()) |
| 43 | 43 | ->method('getBundle') |
| 44 | - ->will($this->returnCallback(function ($bundle) use ($bundles) { |
|
| 44 | + ->will($this->returnCallback(function($bundle) use ($bundles) { |
|
| 45 | 45 | if (!isset($bundles[$bundle])) { |
| 46 | 46 | throw new \InvalidArgumentException(sprintf('Invalid bundle name "%s"', $bundle)); |
| 47 | 47 | } |