@@ -16,7 +16,7 @@ |
||
16 | 16 | * The list of arguments. |
17 | 17 | */ |
18 | 18 | protected function buildArguments($definition) { |
19 | - return array_map(function ($argument) use ($definition) { |
|
19 | + return array_map(function($argument) use ($definition) { |
|
20 | 20 | return [ |
21 | 21 | 'optional' => !empty($argument['optional']), |
22 | 22 | 'type' => $this->buildArgumentType($argument, $definition), |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | public function getCacheTags() { |
65 | 65 | $definitions = $this->getDefinitions(); |
66 | - return array_reduce($definitions, function ($carry, $current) { |
|
66 | + return array_reduce($definitions, function($carry, $current) { |
|
67 | 67 | if (!empty($current['schema_cache_tags'])) { |
68 | 68 | return Cache::mergeTags($carry, $current['schema_cache_tags']); |
69 | 69 | } |
@@ -89,7 +89,7 @@ |
||
89 | 89 | */ |
90 | 90 | public function getCacheTags() { |
91 | 91 | $definitions = $this->getDefinitions(); |
92 | - return array_reduce($definitions, function ($carry, $current) { |
|
92 | + return array_reduce($definitions, function($carry, $current) { |
|
93 | 93 | if (!empty($current['schema_cache_tags'])) { |
94 | 94 | return Cache::mergeTags($carry, $current['schema_cache_tags']); |
95 | 95 | } |
@@ -92,7 +92,7 @@ |
||
92 | 92 | */ |
93 | 93 | public function getCacheTags() { |
94 | 94 | $definitions = $this->getDefinitions(); |
95 | - return array_reduce($definitions, function ($carry, $current) { |
|
95 | + return array_reduce($definitions, function($carry, $current) { |
|
96 | 96 | if (!empty($current['schema_cache_tags'])) { |
97 | 97 | return Cache::mergeTags($carry, $current['schema_cache_tags']); |
98 | 98 | } |
@@ -89,7 +89,7 @@ |
||
89 | 89 | */ |
90 | 90 | public function getCacheTags() { |
91 | 91 | $definitions = $this->getDefinitions(); |
92 | - return array_reduce($definitions, function ($carry, $current) { |
|
92 | + return array_reduce($definitions, function($carry, $current) { |
|
93 | 93 | if (!empty($current['schema_cache_tags'])) { |
94 | 94 | return Cache::mergeTags($carry, $current['schema_cache_tags']); |
95 | 95 | } |
@@ -89,7 +89,7 @@ |
||
89 | 89 | */ |
90 | 90 | public function getCacheTags() { |
91 | 91 | $definitions = $this->getDefinitions(); |
92 | - return array_reduce($definitions, function ($carry, $current) { |
|
92 | + return array_reduce($definitions, function($carry, $current) { |
|
93 | 93 | if (!empty($current['schema_cache_tags'])) { |
94 | 94 | return Cache::mergeTags($carry, $current['schema_cache_tags']); |
95 | 95 | } |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | // Collect any potentially leaked cache metadata released by the callback. |
73 | 73 | $context = new RenderContext(); |
74 | - $result = $this->renderer->executeInRenderContext($context, function () use ($callback) { |
|
74 | + $result = $this->renderer->executeInRenderContext($context, function() use ($callback) { |
|
75 | 75 | return $callback(); |
76 | 76 | }); |
77 | 77 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public static function camelCase() { |
18 | 18 | $args = func_get_args(); |
19 | - $components = array_map(function ($component) { |
|
19 | + $components = array_map(function($component) { |
|
20 | 20 | return preg_replace('/[^a-zA-Z0-9_]/', '_', $component); |
21 | 21 | }, $args); |
22 | 22 |