@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * CrudEntry constructor. |
41 | 41 | * |
42 | - * @param Model|Crudable $model |
|
42 | + * @param Model $model |
|
43 | 43 | * @throws \InvalidArgumentException |
44 | 44 | */ |
45 | 45 | public function __construct(Model $model) |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | * Shortcut to self validate. |
214 | 214 | * |
215 | 215 | * @param array $data |
216 | - * @return self |
|
216 | + * @return CrudValidator |
|
217 | 217 | */ |
218 | 218 | public function validate(array $data) |
219 | 219 | { |
@@ -86,7 +86,6 @@ discard block |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @param string $identifier |
|
90 | 89 | * @param Field $field |
91 | 90 | * @return self |
92 | 91 | * @throws DuplicateFieldIdentifierException |
@@ -171,7 +170,7 @@ discard block |
||
171 | 170 | * Returns all fields keys. |
172 | 171 | * |
173 | 172 | * @param void |
174 | - * @return array |
|
173 | + * @return integer[] |
|
175 | 174 | */ |
176 | 175 | public function keys() |
177 | 176 | { |
@@ -119,7 +119,6 @@ |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | /** |
122 | - * @param null|string $to |
|
123 | 122 | * @return RedirectResponse |
124 | 123 | */ |
125 | 124 | public function redirect() |