Completed
Push — master ( b409f5...0471ad )
by Marc
02:37
created
src/Core/ViewHelper/Traits/CompileWithContentArgumentAndRenderStatic.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use TYPO3Fluid\Fluid\Core\Compiler\TemplateCompiler;
5 5
 use TYPO3Fluid\Fluid\Core\Compiler\ViewHelperCompiler;
6 6
 use TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode;
7
-use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
8 7
 
9 8
 /**
10 9
  * Class CompilableWithRenderStatic
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,12 +91,12 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.