@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * Determine whether where should be treated as whereNull. |
64 | 64 | * |
65 | 65 | * @param string $method |
66 | - * @param Sofa\Hookable\Contracts\ArgumentBag $args |
|
66 | + * @param ArgumentBag $args |
|
67 | 67 | * @return boolean |
68 | 68 | */ |
69 | 69 | protected function isWhereNull($method, ArgumentBag $args) |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * Determine whether where is a whereNull by the arguments passed to where method. |
76 | 76 | * |
77 | - * @param Sofa\Hookable\Contracts\ArgumentBag $args |
|
77 | + * @param ArgumentBag $args |
|
78 | 78 | * @return boolean |
79 | 79 | */ |
80 | 80 | protected function isWhereNullByArgs(ArgumentBag $args) |
@@ -363,7 +363,7 @@ discard block |
||
363 | 363 | /** |
364 | 364 | * Get boolean called on the original method and set it to default. |
365 | 365 | * |
366 | - * @param \Sofa\EloquenceArgumentBag $args |
|
366 | + * @param ArgumentBag $args |
|
367 | 367 | * @return string |
368 | 368 | */ |
369 | 369 | protected function getMappedBoolean(ArgumentBag $args) |
@@ -484,7 +484,7 @@ discard block |
||
484 | 484 | * |
485 | 485 | * @param \Illuminate\Database\Eloquent\Model $target |
486 | 486 | * @param array $segments |
487 | - * @return mixed |
|
487 | + * @return EloquentModel |
|
488 | 488 | */ |
489 | 489 | protected function getTarget($target, array $segments) |
490 | 490 | { |
@@ -259,7 +259,7 @@ |
||
259 | 259 | /** |
260 | 260 | * Get boolean called on the original method and set it to default. |
261 | 261 | * |
262 | - * @param \Sofa\EloquenceArgumentBag $args |
|
262 | + * @param ArgumentBag $args |
|
263 | 263 | * @return string |
264 | 264 | */ |
265 | 265 | protected function getMetaBoolean(ArgumentBag $args) |
@@ -264,7 +264,7 @@ |
||
264 | 264 | /** |
265 | 265 | * Get all validation rules for update for given id. |
266 | 266 | * |
267 | - * @param \Illuminate\Database\Eloquent\Model|integer|string $id |
|
267 | + * @param Validable $id |
|
268 | 268 | * @return array |
269 | 269 | */ |
270 | 270 | public static function getUpdateRulesForId($id) |