Passed
Pull Request — master (#4)
by
unknown
03:43
created
src/Holidays.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function from($str)
66 66
     {
67
-         $this->start_date = date('Y-m-d',strtotime($str)).'T00:00:00-00:00';
67
+         $this->start_date = date('Y-m-d', strtotime($str)).'T00:00:00-00:00';
68 68
         return $this;
69 69
     }
70 70
     /**
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function to($str)
77 77
     {
78
-        $this->end_date = date('Y-m-d',strtotime($str)).'T00:00:00-00:00';
78
+        $this->end_date = date('Y-m-d', strtotime($str)).'T00:00:00-00:00';
79 79
         return $this;
80 80
     }
81 81
     /**
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
                     ];
167 167
                 }
168 168
 
169
-                usort($result, function ($a, $b) {
169
+                usort($result, function($a, $b) {
170 170
                     if ($a['date'] == $b['date']) {
171 171
                         return 0;
172 172
                     }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
             } else {
177 177
                 $result = $response['items'];
178 178
 
179
-                usort($result, function ($a, $b) {
179
+                usort($result, function($a, $b) {
180 180
                     if ($a['start']['date'] == $b['start']['date']) {
181 181
                         return 0;
182 182
                     }
Please login to merge, or discard this patch.