@@ -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 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | const ERROR_CODE = -32600; |
9 | 9 | |
10 | - public function __construct($message = null,\Exception $previous = null) |
|
10 | + public function __construct($message = null, \Exception $previous = null) |
|
11 | 11 | { |
12 | 12 | if (is_null($message)) { |
13 | 13 | $message = 'Invalid Request'; |