Passed
Push — master ( c7379f...97417c )
by Esza
02:29
created
src/Http/Controllers/DashboardEpormasController.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
           $city_id = $grafikepormascounter[$r]->city_id;
64 64
           if($bulansepormascounter < 10){
65 65
             $bulanepormascounter = substr($bulansepormascounter,1);
66
-          }else {
66
+          } else {
67 67
             $bulanepormascounter = $bulansepormascounter;
68 68
           }
69 69
           if($tahungrafikepormascounter == $tahunsepormascounter){
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
           $city_id = $grafikepormascounter[$r]->city_id;
77 77
           if($bulansepormascounter < 10){
78 78
             $bulanepormascounter = substr($bulansepormascounter,1);
79
-          }else {
79
+          } else {
80 80
             $bulanepormascounter = $bulansepormascounter;
81 81
           }
82 82
           if($tahungrafikepormascounter == $tahunsepormascounter){
Please login to merge, or discard this patch.
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.