Passed
Push — master ( b21794...c7379f )
by Esza
02:20
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
           $formats = date('Y-m-d', strtotime(str_replace(' ','-',$request->tanggal)));
127
-        }else {
127
+        } else {
128 128
           $formats = '';
129 129
         }
130 130
         $format = $formats;
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
                             ->find($id);
245 245
             if($result->tanggal){
246 246
               $formats = date('Y-m-d', strtotime($result->tanggal));
247
-            }else {
247
+            } else {
248 248
               $formats = 'Not Found';
249 249
             }
250 250
             $format = $formats;
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 
305 305
         if($request->tanggal){
306 306
           $formats = date('Y-m-d', strtotime(str_replace(' ','-',$request->tanggal)));
307
-        }else {
307
+        } else {
308 308
           $formats = '';
309 309
         }
310 310
         $format = $formats;
Please login to merge, or discard this patch.