Passed
Push — feature/super-model ( 9eaa75...66e03d )
by axel
01:46
created
src/MalScraper/Helper/Helper.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,9 +127,15 @@
 block discarded – undo
127 127
     {
128 128
         $currentMonth = date('m');
129 129
 
130
-        if ($currentMonth >= '01' && $currentMonth < '04') return 'winter';
131
-        if ($currentMonth >= '04' && $currentMonth < '07') return 'spring';
132
-        if ($currentMonth >= '07' && $currentMonth < '10') return 'summer';
130
+        if ($currentMonth >= '01' && $currentMonth < '04') {
131
+            return 'winter';
132
+        }
133
+        if ($currentMonth >= '04' && $currentMonth < '07') {
134
+            return 'spring';
135
+        }
136
+        if ($currentMonth >= '07' && $currentMonth < '10') {
137
+            return 'summer';
138
+        }
133 139
         return 'autumn';
134 140
     }
135 141
 
Please login to merge, or discard this patch.