Passed
Push — master ( 833ee4...4b755d )
by Ridvan Lakas ng Bayan
02:09
created
src/Ridvanbaluyos/Mmda/MMDA.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,8 +104,12 @@
 block discarded – undo
104 104
             $segment = substr(explode('-', $title, 2)[1], 0, -3);
105 105
             $direction = substr(explode('-', $title, 2)[1], -2);
106 106
 
107
-            if (empty($traffic[$highway])) $traffic[$highway] = [];
108
-            if (empty($traffic[$highway][$segment])) $traffic[$highway][$segment] = [];
107
+            if (empty($traffic[$highway])) {
108
+                $traffic[$highway] = [];
109
+            }
110
+            if (empty($traffic[$highway][$segment])) {
111
+                $traffic[$highway][$segment] = [];
112
+            }
109 113
 
110 114
             $traffic[$highway][$segment][$direction] = $description;
111 115
             $traffic[$highway][$segment]['pubDate'] = $pubDate;
Please login to merge, or discard this patch.