@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | /** |
| 14 | 14 | * Register an updated model event with the dispatcher. |
| 15 | 15 | * |
| 16 | - * @param \Closure|string $callback |
|
| 16 | + * @param Closure $callback |
|
| 17 | 17 | * |
| 18 | 18 | * @return void |
| 19 | 19 | */ |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * Register a created model event with the dispatcher. |
| 24 | 24 | * |
| 25 | - * @param \Closure|string $callback |
|
| 25 | + * @param Closure $callback |
|
| 26 | 26 | * |
| 27 | 27 | * @return void |
| 28 | 28 | */ |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Register a deleted model event with the dispatcher. |
| 33 | 33 | * |
| 34 | - * @param \Closure|string $callback |
|
| 34 | + * @param Closure $callback |
|
| 35 | 35 | * |
| 36 | 36 | * @return void |
| 37 | 37 | */ |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | /** |
| 172 | 172 | * Get the services provided by the provider. |
| 173 | 173 | * |
| 174 | - * @return array |
|
| 174 | + * @return string[] |
|
| 175 | 175 | */ |
| 176 | 176 | public function provides() |
| 177 | 177 | { |
@@ -97,7 +97,6 @@ |
||
| 97 | 97 | /** |
| 98 | 98 | * Cancel an order. |
| 99 | 99 | * |
| 100 | - * @param int $id |
|
| 101 | 100 | * |
| 102 | 101 | * @return Persons |
| 103 | 102 | */ |
@@ -218,6 +218,9 @@ |
||
| 218 | 218 | return $this; |
| 219 | 219 | } |
| 220 | 220 | |
| 221 | + /** |
|
| 222 | + * @param string $type |
|
| 223 | + */ |
|
| 221 | 224 | protected static function convertToRoutine($values, $type = null, $locale = null) |
| 222 | 225 | { |
| 223 | 226 | return collect($values)->map( |
@@ -225,6 +225,9 @@ |
||
| 225 | 225 | return $this; |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | + /** |
|
| 229 | + * @param string $type |
|
| 230 | + */ |
|
| 228 | 231 | protected static function convertToTask($values, $type = null, $locale = null) |
| 229 | 232 | { |
| 230 | 233 | return collect($values)->map( |