Completed
Push — master ( a2a4ba...d14277 )
by Vladimir
09:15
created
src/Twig/WhereFilter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 
137 137
         if ($array->coreInstanceOf(FrontMatterObject::class) && !isset($array[$key]))
138 138
         {
139
-            if ($comparison == '==' && is_null($value))  { return true; }
139
+            if ($comparison == '==' && is_null($value)) { return true; }
140 140
             if ($comparison == '!=' && !is_null($value)) { return true; }
141 141
         }
142 142
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,8 +136,12 @@
 block discarded – undo
136 136
 
137 137
         if ($array->coreInstanceOf(FrontMatterObject::class) && !isset($array[$key]))
138 138
         {
139
-            if ($comparison == '==' && is_null($value))  { return true; }
140
-            if ($comparison == '!=' && !is_null($value)) { return true; }
139
+            if ($comparison == '==' && is_null($value))
140
+            {
141
+return true; }
142
+            if ($comparison == '!=' && !is_null($value))
143
+            {
144
+return true; }
141 145
         }
142 146
 
143 147
         return false;
Please login to merge, or discard this patch.