Completed
Pull Request — master (#393)
by Claus
10:42
created
src/ViewHelpers/IfViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,6 @@
 block discarded – undo
89 89
      */
90 90
     public static function verdict(array $arguments, RenderingContextInterface $renderingContext)
91 91
     {
92
-        return (bool)$arguments['condition'];
92
+        return (bool) $arguments['condition'];
93 93
     }
94 94
 }
Please login to merge, or discard this patch.
src/Core/ViewHelper/AbstractConditionViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      */
121 121
     protected static function evaluateCondition($arguments = null)
122 122
     {
123
-        return isset($arguments['condition']) && (bool)($arguments['condition']);
123
+        return isset($arguments['condition']) && (bool) ($arguments['condition']);
124 124
     }
125 125
 
126 126
     /**
Please login to merge, or discard this patch.