Completed
Pull Request — master (#572)
by
unknown
01:03
created
src/Core/Parser/SyntaxTree/Expression/NullcoalescingExpressionNode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
         $parts = preg_split('/([\?\?])/s', $expression);
51 51
         $parts = array_map([__CLASS__, 'trimPart'], $parts);
52 52
 
53
-        foreach($parts as $part) {
53
+        foreach ($parts as $part) {
54 54
             $value = static::getTemplateVariableOrValueItself($part, $renderingContext);
55
-            if(!is_null($value)) {
55
+            if (!is_null($value)) {
56 56
                 return $value;
57 57
             }
58 58
         }
Please login to merge, or discard this patch.