Passed
Push — master ( 761d8a...b21794 )
by Esza
02:22
created
src/Http/Controllers/EpormasCounterController.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         if($request->tanggal){
126 126
           $format = date('Y-m-d', strtotime(str_replace(' ','-',$request->tanggal)));
127
-        }else {
127
+        } else {
128 128
           $format = '';
129 129
         }
130 130
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
                             ->find($id);
245 245
             if($result->tanggal){
246 246
               $format = date('Y-m-d', strtotime($result->tanggal));
247
-            }else {
247
+            } else {
248 248
               $format = 'Not Found';
249 249
             }
250 250
 
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 
305 305
         if($request->tanggal){
306 306
           $format = date('Y-m-d', strtotime(str_replace(' ','-',$request->tanggal)));
307
-        }else {
307
+        } else {
308 308
           $format = '';
309 309
         }
310 310
 
Please login to merge, or discard this patch.