Completed
Push — master ( c91fb3...77e88f )
by Ariel
05:48
created
src/Booking/Timetable.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,7 +121,6 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Setter for interval.
123 123
      *
124
-     * @param  int $minutes
125 124
      *
126 125
      * @return $this
127 126
      */
@@ -280,8 +279,8 @@  discard block
 block discarded – undo
280 279
      * Helper method for Arr::set
281 280
      *
282 281
      * @param  array &$array
283
-     * @param  mixed $key
284
-     * @param  mixed $value
282
+     * @param  string $key
283
+     * @param  integer $value
285 284
      *
286 285
      * @return mixed
287 286
      */
@@ -294,7 +293,7 @@  discard block
 block discarded – undo
294 293
      * Helper method for Arr::get
295 294
      *
296 295
      * @param  array &$array
297
-     * @param  mixed $key
296
+     * @param  string $key
298 297
      * @param  mixed $default
299 298
      *
300 299
      * @return mixed
@@ -304,6 +303,9 @@  discard block
 block discarded – undo
304 303
         return Arr::get($array, $key, $default);
305 304
     }
306 305
 
306
+    /**
307
+     * @param string $array1
308
+     */
307 309
     private function array_substitute(&$array1, $array2)
308 310
     {
309 311
         foreach ($array1 as $key => $value) {
Please login to merge, or discard this patch.
src/VacancyManager.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Create the Vacancy Service object.
29 29
      *
30
-     * @param Timegridio\Concierge\Models\Business $business
31 30
      */
32 31
     public function __construct()
33 32
     {
@@ -37,7 +36,7 @@  discard block
 block discarded – undo
37 36
     /**
38 37
      * Set Business.
39 38
      *
40
-     * @param Timegridio\Concierge\Models\Business $business
39
+     * @param Business $business
41 40
      */
42 41
     public function setBusiness(Business $business)
43 42
     {
@@ -78,6 +77,9 @@  discard block
 block discarded – undo
78 77
         return $this->generateAvailability($vacancies, $starting, $limit);
79 78
     }
80 79
 
80
+    /**
81
+     * @param integer $userId
82
+     */
81 83
     protected function removeAllBookedVacancies($userId, $vacancies)
82 84
     {
83 85
         $vacancies = $this->strategy->removeBookedVacancies($vacancies);
@@ -268,6 +270,9 @@  discard block
 block discarded – undo
268 270
         return $vacancy !== null;
269 271
     }
270 272
 
273
+    /**
274
+     * @param string $key
275
+     */
271 276
     protected function arrayGroupBy($key, $array)
272 277
     {
273 278
         $grouped = [];
Please login to merge, or discard this patch.