Passed
Push — master ( 1fece0...af95a9 )
by Hector Luis
03:59
created
src/Domain/Policies/Calendar/Disabling/CQRS/Query.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $decoded = $this->decode($rule);
58 58
         $this->validate($decoded, $type);
59 59
         $result = [
60
-            'single'        => (function () use ($decoded) {
60
+            'single'        => (function() use ($decoded) {
61 61
                 $period = $this->periodConstraint->extract([
62 62
                     'from' => $decoded['date'],
63 63
                     'to'   => $decoded['date'],
@@ -65,12 +65,12 @@  discard block
 block discarded – undo
65 65
 
66 66
                 return $this->extract($period);
67 67
             }),
68
-            'period'        => (function () use ($decoded) {
68
+            'period'        => (function() use ($decoded) {
69 69
                 $period = $this->periodConstraint->extract($decoded);
70 70
 
71 71
                 return $this->extract($period);
72 72
             }),
73
-            'recurrent_day' => (function () use ($decoded) {
73
+            'recurrent_day' => (function() use ($decoded) {
74 74
                 $dayOfWeek = jddayofweek($decoded['dayOfWeek'] - 1, 1);
75 75
                 $period = $this->weekDaysConstraint->extract([
76 76
                     'weekDay' => $dayOfWeek,
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function fetchList(): array
93 93
     {
94
-        usort($this->list, function ($previous, $next) {
94
+        usort($this->list, function($previous, $next) {
95 95
             $previousDate = strtotime($previous);
96 96
             $nextDate = strtotime($next);
97 97
 
Please login to merge, or discard this patch.