@@ -35,15 +35,15 @@ discard block |
||
35 | 35 | $app['intaro_pinba.script_name_configure.enable'] = true; |
36 | 36 | |
37 | 37 | |
38 | - $app['intaro_pinba.script_name_configure.listener'] = function () use ($app) { |
|
38 | + $app['intaro_pinba.script_name_configure.listener'] = function() use ($app) { |
|
39 | 39 | return new $app['intaro_pinba.script_name_configure.class']; |
40 | 40 | }; |
41 | 41 | |
42 | - $app['intaro_pinba.stopwatch'] = function () use ($app) { |
|
42 | + $app['intaro_pinba.stopwatch'] = function() use ($app) { |
|
43 | 43 | return new $app['intaro_pinba.stopwatch.class']; |
44 | 44 | }; |
45 | 45 | |
46 | - $app['doctrine.dbal.logger'] = function () use ($app) { |
|
46 | + $app['doctrine.dbal.logger'] = function() use ($app) { |
|
47 | 47 | /** |
48 | 48 | * @see \Intaro\PinbaBundle\Logger\DbalLogger |
49 | 49 | */ |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | return new $className($app["intaro_pinba.stopwatch"], $host); |
53 | 53 | }; |
54 | 54 | |
55 | - $app['dbs.config'] = function ($app) { |
|
55 | + $app['dbs.config'] = function($app) { |
|
56 | 56 | $app['dbs.options.initializer'](); |
57 | 57 | |
58 | 58 | $configs = new Container(); |
@@ -67,12 +67,12 @@ discard block |
||
67 | 67 | return $configs; |
68 | 68 | }; |
69 | 69 | |
70 | - $app['twig.environment_factory'] = $app->protect(function ($app) { |
|
70 | + $app['twig.environment_factory'] = $app->protect(function($app) { |
|
71 | 71 | $className = $app['intaro_pinba.templating.engine.twig.class']; |
72 | 72 | $twig = new $className($app['twig.loader'], $app['twig.options']); |
73 | - if($twig instanceof TimedTwigEnvironment) { |
|
73 | + if ($twig instanceof TimedTwigEnvironment) { |
|
74 | 74 | $twig |
75 | - ->setStopwatch( $app['intaro_pinba.stopwatch']) |
|
75 | + ->setStopwatch($app['intaro_pinba.stopwatch']) |
|
76 | 76 | ->setServerName($app['intaro_pinba.server.name']) |
77 | 77 | ; |
78 | 78 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | |
83 | 83 | if (PHP_SAPI !== 'cli') { |
84 | - $app->extend('dispatcher', function ($dispatcher) use ($app) { |
|
84 | + $app->extend('dispatcher', function($dispatcher) use ($app) { |
|
85 | 85 | /** |
86 | 86 | * @var $dispatcher \Symfony\Component\EventDispatcher\EventDispatcherInterface |
87 | 87 | */ |