| @@ -121,7 +121,6 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | ||
| 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) { | 
| @@ -2,7 +2,6 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Timegridio\Concierge; | 
| 4 | 4 | |
| 5 | -use Illuminate\Routing\Router; | |
| 6 | 5 | use Illuminate\Support\ServiceProvider; | 
| 7 | 6 | |
| 8 | 7 | class TimegridioConciergeServiceProvider extends ServiceProvider | 
| @@ -19,7 +19,7 @@ | ||
| 19 | 19 | /** | 
| 20 | 20 | * Get or set preference value. | 
| 21 | 21 | * | 
| 22 | - * @param mixed $key | |
| 22 | + * @param string $key | |
| 23 | 23 | * @param mixed $value | 
| 24 | 24 | * @param string $type | 
| 25 | 25 | * | 
| @@ -14,6 +14,9 @@ | ||
| 14 | 14 |  { | 
| 15 | 15 | private $business; | 
| 16 | 16 | |
| 17 | + /** | |
| 18 | + * @param Models\Business $business | |
| 19 | + */ | |
| 17 | 20 | public function __construct($business) | 
| 18 | 21 |      { | 
| 19 | 22 | $this->business = $business; | 
| @@ -3,7 +3,6 @@ | ||
| 3 | 3 | namespace Timegridio\Concierge; | 
| 4 | 4 | |
| 5 | 5 | use Carbon\Carbon; | 
| 6 | -use Models\Business; | |
| 7 | 6 | use Timegridio\Concierge\Models\Contact; | 
| 8 | 7 | |
| 9 | 8 | /** | 
| @@ -75,7 +75,7 @@ | ||
| 75 | 75 | /** | 
| 76 | 76 | * Has a Contact addressbook. | 
| 77 | 77 | * | 
| 78 | - * @return Illuminate\Database\Eloquent\Relations\BelongsToMany | |
| 78 | + * @return Addressbook | |
| 79 | 79 | */ | 
| 80 | 80 | public function addressbook() | 
| 81 | 81 |      { | 
| @@ -124,6 +124,9 @@ discard block | ||
| 124 | 124 | return $vacancy !== null; | 
| 125 | 125 | } | 
| 126 | 126 | |
| 127 | + /** | |
| 128 | + * @param string $key | |
| 129 | + */ | |
| 127 | 130 | protected function arrayGroupBy($key, $array) | 
| 128 | 131 |      { | 
| 129 | 132 | $grouped = []; | 
| @@ -156,7 +159,6 @@ discard block | ||
| 156 | 159 | /** | 
| 157 | 160 | * [generateAvailability description]. | 
| 158 | 161 | * | 
| 159 | - * @param Illuminate\Database\Eloquent\Collection $vacancies | |
| 160 | 162 | * @param string $startDate | 
| 161 | 163 | * @param int $futureDays | 
| 162 | 164 | * | 
| @@ -240,7 +240,7 @@ | ||
| 240 | 240 | /** | 
| 241 | 241 | * Get cancellation deadline (target date). | 
| 242 | 242 | * | 
| 243 | - * @return Carbon\Carbon | |
| 243 | + * @return Carbon | |
| 244 | 244 | */ | 
| 245 | 245 | public function getCancellationDeadlineAttribute() | 
| 246 | 246 |      { |