@@ -10,15 +10,15 @@ |
||
10 | 10 | $container = $app->getContainer(); |
11 | 11 | |
12 | 12 | $container[Controller::class] = function (ContainerInterface $c) { |
13 | - return new Controller($c, $c->get(Handler::class)); |
|
13 | + return new Controller($c, $c->get(Handler::class)); |
|
14 | 14 | }; |
15 | 15 | |
16 | 16 | $container[Handler::class] = function (ContainerInterface $c) { |
17 | - return new Handler($c, $c->get(Executor::class)); |
|
17 | + return new Handler($c, $c->get(Executor::class)); |
|
18 | 18 | }; |
19 | 19 | |
20 | 20 | $container[Executor::class] = function (ContainerInterface $c) { |
21 | - return new Executor($c); |
|
21 | + return new Executor($c); |
|
22 | 22 | }; |
23 | 23 | |
24 | 24 | // monolog |
@@ -28,7 +28,7 @@ |
||
28 | 28 | $reader = ConfigFactory::getReaderPluginManager()->get('yaml'); |
29 | 29 | $reader->setYamlDecoder([new YamlParser(), 'parse']); |
30 | 30 | if ( ! defined('CONFIG_DIR')) { |
31 | - define('CONFIG_DIR', __DIR__ . '/../config'); |
|
31 | + define('CONFIG_DIR', __DIR__ . '/../config'); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | $config = ConfigFactory::fromFiles([CONFIG_DIR . '/global.yaml', CONFIG_DIR . '/local.yaml']); |