@@ -29,8 +29,8 @@ |
||
29 | 29 | return; |
30 | 30 | } |
31 | 31 | $arrayForInput = ['command' => $request->command]; |
32 | - foreach($request->params as $key=>$value) { |
|
33 | - $arrayForInput[$key] = $value; |
|
32 | + foreach ($request->params as $key=>$value) { |
|
33 | + $arrayForInput[$key] = $value; |
|
34 | 34 | } |
35 | 35 | $input = new ArrayInput($arrayForInput); |
36 | 36 | $command = $this->find($request->command); |
@@ -23,7 +23,7 @@ |
||
23 | 23 | |
24 | 24 | public function writeln($message, $options = 0) |
25 | 25 | { |
26 | - return $this->client->write($message . "\n"); |
|
26 | + return $this->client->write($message."\n"); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function disconnect() |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | use Symfony\Component\Console\Application as BaseApplication; |
8 | 8 | |
9 | 9 | define("PADAWAN_VERSION", "0.3"); |
10 | -define("STUBS_DIR", dirname(dirname(dirname(__DIR__))) . '/stubs'); |
|
10 | +define("STUBS_DIR", dirname(dirname(dirname(__DIR__))).'/stubs'); |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Class Application |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | { |
34 | 34 | $builder = new ContainerBuilder; |
35 | 35 | $builder->setDefinitionCache(new \Doctrine\Common\Cache\ArrayCache); |
36 | - $builder->addDefinitions(__DIR__ . '/DI/config.php'); |
|
36 | + $builder->addDefinitions(__DIR__.'/DI/config.php'); |
|
37 | 37 | $this->container = $builder->build(); |
38 | 38 | } |
39 | 39 |