Completed
Push — master ( 867505...d34c07 )
by Ariel
12:14
created
src/Calendar/TimeslotCalendar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         if ($this->duration !== null) {
16 16
             $toDatetime = $fromDatetime->addMinutes($this->duration);
17 17
 
18
-            $results = $results->reject(function ($vacancy) use ($fromDatetime, $toDatetime) {
18
+            $results = $results->reject(function($vacancy) use ($fromDatetime, $toDatetime) {
19 19
                 return !$vacancy->hasRoomBetween($fromDatetime, $toDatetime);
20 20
             });
21 21
         }
Please login to merge, or discard this patch.
src/Vacancy/VacancyManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
         return $vacancy !== null;
98 98
     }
99 99
 
100
+    /**
101
+     * @param string $key
102
+     */
100 103
     protected function arrayGroupBy($key, $array)
101 104
     {
102 105
         $grouped = [];
Please login to merge, or discard this patch.