@@ -2,9 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Akibatech\Crud\Fields; |
| 4 | 4 | |
| 5 | -use Akibatech\Crud\Services\CrudEntry; |
|
| 6 | 5 | use Akibatech\Crud\Services\CrudFields; |
| 7 | -use Illuminate\Database\Eloquent\Model; |
|
| 8 | 6 | |
| 9 | 7 | /** |
| 10 | 8 | * Class Field |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Akibatech\Crud\Fields\Field; |
| 8 | 8 | use Akibatech\Crud\Traits\Crudable; |
| 9 | 9 | use Illuminate\Database\Eloquent\Model; |
| 10 | -use Illuminate\Http\Request; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Class CrudEntry |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Akibatech\Crud\Exceptions\DuplicateFieldIdentifierException; |
| 6 | 6 | use Akibatech\Crud\Exceptions\NoFieldsException; |
| 7 | 7 | use Akibatech\Crud\Fields\Field; |
| 8 | -use Illuminate\Http\Request; |
|
| 9 | 8 | use Illuminate\Support\MessageBag; |
| 10 | 9 | |
| 11 | 10 | /** |
@@ -20,11 +20,11 @@ |
||
| 20 | 20 | if ($this->app->runningInConsole()) |
| 21 | 21 | { |
| 22 | 22 | $this->publishes([ |
| 23 | - __DIR__.'/../resources/lang/' => resource_path('lang/vendor/crud'), |
|
| 23 | + __DIR__ . '/../resources/lang/' => resource_path('lang/vendor/crud'), |
|
| 24 | 24 | ], 'crud'); |
| 25 | 25 | |
| 26 | 26 | $this->publishes([ |
| 27 | - __DIR__.'/../resources/views/' => resource_path('views/vendor/crud'), |
|
| 27 | + __DIR__ . '/../resources/views/' => resource_path('views/vendor/crud'), |
|
| 28 | 28 | ], 'crud'); |
| 29 | 29 | } |
| 30 | 30 | |
@@ -247,7 +247,7 @@ |
||
| 247 | 247 | 'prefix' => $this->route_uri_prefix, |
| 248 | 248 | 'as' => $this->route_name_prefix, |
| 249 | 249 | 'middleware' => 'web' |
| 250 | - ], function ($router) use ($routes, $controller) |
|
| 250 | + ], function($router) use ($routes, $controller) |
|
| 251 | 251 | { |
| 252 | 252 | foreach ($routes as $route) |
| 253 | 253 | { |