@@ -39,7 +39,7 @@ |
||
39 | 39 | if ($path === 'random') { |
40 | 40 | return 'random' . sha1(rand(0, 999999999)); |
41 | 41 | } elseif ($path === 'incrementer') { |
42 | - return ++ $this->incrementer; |
|
42 | + return ++$this->incrementer; |
|
43 | 43 | } else { |
44 | 44 | return parent::getByPath($path); |
45 | 45 | } |
@@ -91,12 +91,12 @@ |
||
91 | 91 | $argumentName = $this->resolveContentArgumentName(); |
92 | 92 | $arguments = $this->arguments; |
93 | 93 | if (!empty($argumentName) && isset($arguments[$argumentName])) { |
94 | - $renderChildrenClosure = function () use ($arguments, $argumentName) { |
|
94 | + $renderChildrenClosure = function() use ($arguments, $argumentName) { |
|
95 | 95 | return $arguments[$argumentName]; |
96 | 96 | }; |
97 | 97 | } else { |
98 | 98 | $self = clone $this; |
99 | - $renderChildrenClosure = function () use ($self) { |
|
99 | + $renderChildrenClosure = function() use ($self) { |
|
100 | 100 | return $self->renderChildren(); |
101 | 101 | }; |
102 | 102 | } |
@@ -284,7 +284,7 @@ |
||
284 | 284 | try { |
285 | 285 | $parsedPartial = $this->baseRenderingContext->getTemplateParser()->getOrParseAndStoreTemplate( |
286 | 286 | $templatePaths->getPartialIdentifier($partialName), |
287 | - function ($parent, TemplatePaths $paths) use ($partialName) { |
|
287 | + function($parent, TemplatePaths $paths) use ($partialName) { |
|
288 | 288 | return $paths->getPartialSource($partialName); |
289 | 289 | } |
290 | 290 | ); |