@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | protected function getFunction() |
| 28 | 28 | { |
| 29 | - return function ($url, array $query = [], array $options = []) { |
|
| 29 | + return function($url, array $query = [], array $options = []) { |
|
| 30 | 30 | $url = Url::generate($url, $query, $options); |
| 31 | 31 | $html = $url->buildEscaped(); |
| 32 | 32 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | protected function getFunction() |
| 27 | 27 | { |
| 28 | - return function (array $items) { |
|
| 28 | + return function(array $items) { |
|
| 29 | 29 | if (is_array(array_values($items)[0])) { |
| 30 | 30 | $html = '<div class="list-group">'; |
| 31 | 31 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | protected function getFunction() |
| 27 | 27 | { |
| 28 | - return function ($path) { |
|
| 28 | + return function($path) { |
|
| 29 | 29 | $path = ltrim($path, '/'); |
| 30 | 30 | |
| 31 | 31 | return '/assets/' . $path; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $this->provideFormTypeExtension($app); |
| 31 | 31 | |
| 32 | 32 | $app['twig'] = $app->share( |
| 33 | - $app->extend('twig', function (\Twig_Environment $twig) { |
|
| 33 | + $app->extend('twig', function(\Twig_Environment $twig) { |
|
| 34 | 34 | |
| 35 | 35 | $this->registerTwigFunctions($twig); |
| 36 | 36 | $this->registerTwigFilters($twig); |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | protected function provideFormTypeExtension(Application $app) |
| 100 | 100 | { |
| 101 | - $app['form.type.extensions'] = $app->share(function () { |
|
| 101 | + $app['form.type.extensions'] = $app->share(function() { |
|
| 102 | 102 | return [ |
| 103 | 103 | new NoValidateTypeExtension(), |
| 104 | 104 | ]; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | */ |
| 51 | 51 | protected function addTwigFunctions(Container $container) |
| 52 | 52 | { |
| 53 | - $container[static::GUI_TWIG_FUNCTIONS] = function () { |
|
| 53 | + $container[static::GUI_TWIG_FUNCTIONS] = function() { |
|
| 54 | 54 | return $this->getTwigFunctions(); |
| 55 | 55 | }; |
| 56 | 56 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | protected function addTwigFilter(Container $container) |
| 66 | 66 | { |
| 67 | - $container[static::GUI_TWIG_FILTERS] = function () { |
|
| 67 | + $container[static::GUI_TWIG_FILTERS] = function() { |
|
| 68 | 68 | return $this->getTwigFilters(); |
| 69 | 69 | }; |
| 70 | 70 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\GuiCommunicationTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -82,8 +82,8 @@ discard block |
||
| 82 | 82 | static::COL_TWO => 'Two', |
| 83 | 83 | ]); |
| 84 | 84 | $config->setSortable([ |
| 85 | - static::COL_ONE, |
|
| 86 | - static::COL_TWO, |
|
| 85 | + static::COL_ONE, |
|
| 86 | + static::COL_TWO, |
|
| 87 | 87 | ]); |
| 88 | 88 | |
| 89 | 89 | $config->setDefaultSortField(static::COL_TWO); |
@@ -91,8 +91,8 @@ discard block |
||
| 91 | 91 | $result = $this->table->getOrders($config); |
| 92 | 92 | $expected = [ |
| 93 | 93 | [ |
| 94 | - 'column' => 1, |
|
| 95 | - 'dir' => 'asc', |
|
| 94 | + 'column' => 1, |
|
| 95 | + 'dir' => 'asc', |
|
| 96 | 96 | ], |
| 97 | 97 | ]; |
| 98 | 98 | $this->assertSame($expected, $result); |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | */ |
| 39 | 39 | protected function addSessionClient(Container $container) |
| 40 | 40 | { |
| 41 | - $container[static::CLIENT_SESSION] = function (Container $container) { |
|
| 41 | + $container[static::CLIENT_SESSION] = function(Container $container) { |
|
| 42 | 42 | return $container->getLocator()->session()->client(); |
| 43 | 43 | }; |
| 44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | protected function addCurrencyPlugin(Container $container) |
| 54 | 54 | { |
| 55 | - $container[static::CURRENCY_PLUGIN] = function (Container $container) { |
|
| 55 | + $container[static::CURRENCY_PLUGIN] = function(Container $container) { |
|
| 56 | 56 | return new QuoteToCurrencyBridge(new CurrencyPlugin()); |
| 57 | 57 | }; |
| 58 | 58 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\QuoteClientTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |