Completed
Pull Request — master (#440)
by Claus
01:41
created
src/Core/Parser/SyntaxTree/Expression/TernaryExpressionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param mixed $candidate
73
+     * @param string $candidate
74 74
      * @param RenderingContextInterface $renderingContext
75 75
      * @return mixed
76 76
      */
Please login to merge, or discard this patch.
src/Core/Compiler/NodeConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
             if (!$booleanStack[0] instanceof NodeInterface) {
378 378
                 return [
379 379
                     'initialization' => '',
380
-                    'execution' => $booleanStack[0] && strtolower((string)$booleanStack[0]) !== 'false' ? 'true' : 'false',
380
+                    'execution' => $booleanStack[0] && strtolower((string) $booleanStack[0]) !== 'false' ? 'true' : 'false',
381 381
                 ];
382 382
             }
383 383
 
Please login to merge, or discard this patch.