Completed
Pull Request — master (#470)
by Claus
06:03
created
src/Core/Parser/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $previous = $this->features[$feature];
37 37
         if (is_bool($state) || is_numeric($state) || is_null($state)) {
38
-            $this->features[$feature] = (bool)$state;
38
+            $this->features[$feature] = (bool) $state;
39 39
         } elseif (is_string($state)) {
40 40
             $this->features[$feature] = in_array(strtolower($state), ['on', 'true', 'enabled'], true);
41 41
         }
Please login to merge, or discard this patch.
src/Core/Rendering/FluidRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@
 block discarded – undo
223 223
         try {
224 224
             $parsedPartial = $renderingContext->getTemplateParser()->getOrParseAndStoreTemplate(
225 225
                 $templatePaths->getPartialIdentifier($partialName),
226
-                function (RenderingContextInterface $renderingContext) use ($partialName): string {
226
+                function(RenderingContextInterface $renderingContext) use ($partialName): string {
227 227
                     return $renderingContext->getTemplatePaths()->getPartialSource($partialName);
228 228
                 }
229 229
             );
Please login to merge, or discard this patch.
src/Core/ViewHelper/Traits/CompileWithContentArgumentAndRenderStatic.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,12 +81,12 @@
 block discarded – undo
81 81
         $argumentName = $this->resolveContentArgumentName();
82 82
         $arguments = $this->arguments ?? [];
83 83
         if (!empty($argumentName) && isset($arguments[$argumentName])) {
84
-            $renderChildrenClosure = function () use ($arguments, $argumentName) {
84
+            $renderChildrenClosure = function() use ($arguments, $argumentName) {
85 85
                 return $arguments[$argumentName];
86 86
             };
87 87
         } else {
88 88
             $self = clone $this;
89
-            $renderChildrenClosure = function () use ($self) {
89
+            $renderChildrenClosure = function() use ($self) {
90 90
                 return $self->renderChildren();
91 91
             };
92 92
         }
Please login to merge, or discard this patch.
src/Core/ViewHelper/TagBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     {
81 81
         $this->ignoreEmptyAttributes = $ignoreEmptyAttributes;
82 82
         if ($ignoreEmptyAttributes) {
83
-            $this->attributes = array_filter($this->attributes, function ($item): bool { return trim((string) $item) !== ''; });
83
+            $this->attributes = array_filter($this->attributes, function($item): bool { return trim((string) $item) !== ''; });
84 84
         }
85 85
     }
86 86
 
Please login to merge, or discard this patch.
src/Core/ViewHelper/AbstractViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     protected function buildRenderChildrenClosure()
154 154
     {
155 155
         $self = clone $this;
156
-        $renderChildrenClosure = function () use ($self) {
156
+        $renderChildrenClosure = function() use ($self) {
157 157
             return $self->renderChildren();
158 158
         };
159 159
         return $renderChildrenClosure;
Please login to merge, or discard this patch.