@@ -38,7 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * CrudEntry constructor. |
| 40 | 40 | * |
| 41 | - * @param Model|Crudable $model |
|
| 41 | + * @param Model $model |
|
| 42 | 42 | * @throws \InvalidArgumentException |
| 43 | 43 | */ |
| 44 | 44 | public function __construct(Model $model) |
@@ -311,7 +311,7 @@ |
||
| 311 | 311 | * Get the field value. |
| 312 | 312 | * |
| 313 | 313 | * @param void |
| 314 | - * @return mixed |
|
| 314 | + * @return string |
|
| 315 | 315 | */ |
| 316 | 316 | public function getValue() |
| 317 | 317 | { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | 'prefix' => $this->route_uri_prefix, |
| 254 | 254 | 'as' => $this->route_name_prefix, |
| 255 | 255 | 'middleware' => 'web' |
| 256 | - ], function (Router $router) use ($routes, $controller) |
|
| 256 | + ], function(Router $router) use ($routes, $controller) |
|
| 257 | 257 | { |
| 258 | 258 | foreach ($routes as $route) |
| 259 | 259 | { |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | */ |
| 296 | 296 | public function setPerPage($per_page = 25) |
| 297 | 297 | { |
| 298 | - $this->per_page = (int)$per_page; |
|
| 298 | + $this->per_page = (int) $per_page; |
|
| 299 | 299 | |
| 300 | 300 | return $this; |
| 301 | 301 | } |