@@ -14,16 +14,16 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | public function register(Container $app) |
| 16 | 16 | { |
| 17 | - $app->extend('data_collectors', function ($collectors) { |
|
| 18 | - $collectors[PushServerDataCollector::NAME] = function ($app) { |
|
| 17 | + $app->extend('data_collectors', function($collectors) { |
|
| 18 | + $collectors[PushServerDataCollector::NAME] = function($app) { |
|
| 19 | 19 | return new PushServerDataCollector($app['sandstone.push']); |
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | 22 | return $collectors; |
| 23 | 23 | }); |
| 24 | 24 | |
| 25 | - $app['data_collector.templates'] = $app->extend('data_collector.templates', function ($templates) { |
|
| 26 | - $templates []= array( |
|
| 25 | + $app['data_collector.templates'] = $app->extend('data_collector.templates', function($templates) { |
|
| 26 | + $templates [] = array( |
|
| 27 | 27 | PushServerDataCollector::NAME, |
| 28 | 28 | 'push-messages.html.twig', |
| 29 | 29 | ); |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | $app['twig.loader.filesystem'] = $app->extend( |
| 35 | 35 | 'twig.loader.filesystem', |
| 36 | - function (Twig_Loader_Filesystem $loader) { |
|
| 36 | + function(Twig_Loader_Filesystem $loader) { |
|
| 37 | 37 | $loader->addPath(__DIR__.'/DataCollector/views'); |
| 38 | 38 | |
| 39 | 39 | return $loader; |