@@ -27,7 +27,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 = []; |