@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('cb_modules', function (Blueprint $table) { |
|
15 | + Schema::create('cb_modules', function(Blueprint $table) { |
|
16 | 16 | $table->increments(); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string("icon"); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('cb_menus', function (Blueprint $table) { |
|
15 | + Schema::create('cb_menus', function(Blueprint $table) { |
|
16 | 16 | $table->increments(); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string("icon"); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function assignment($value, ColumnModel $column) |
22 | 22 | { |
23 | - return implode(";", request( $column->getName() )); |
|
23 | + return implode(";", request($column->getName())); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | } |
27 | 27 | \ No newline at end of file |
@@ -24,13 +24,13 @@ discard block |
||
24 | 24 | $this->loadViewsFrom(__DIR__.'/types', 'types'); |
25 | 25 | |
26 | 26 | // Publish the files |
27 | - $this->publishes([__DIR__.'/configs/crudbooster.php' => config_path('crudbooster.php')],'cb_config'); |
|
27 | + $this->publishes([__DIR__.'/configs/crudbooster.php' => config_path('crudbooster.php')], 'cb_config'); |
|
28 | 28 | $this->publishes([__DIR__.'/localization' => resource_path('lang')], 'cb_localization'); |
29 | - $this->publishes([__DIR__.'/database' => base_path('database')],'cb_migration'); |
|
30 | - $this->publishes([__DIR__.'/templates/CBHook.stub'=> app_path('Http/CBHook.php')],'cb_hook'); |
|
29 | + $this->publishes([__DIR__.'/database' => base_path('database')], 'cb_migration'); |
|
30 | + $this->publishes([__DIR__.'/templates/CBHook.stub'=> app_path('Http/CBHook.php')], 'cb_hook'); |
|
31 | 31 | $this->publishes([ |
32 | - __DIR__ . '/assets' =>public_path('cb_asset') |
|
33 | - ],'cb_asset'); |
|
32 | + __DIR__.'/assets' =>public_path('cb_asset') |
|
33 | + ], 'cb_asset'); |
|
34 | 34 | |
35 | 35 | require __DIR__.'/validations/validation.php'; |
36 | 36 | require __DIR__.'/routes.php'; |
@@ -46,14 +46,14 @@ discard block |
||
46 | 46 | require __DIR__.'/helpers/Helper.php'; |
47 | 47 | |
48 | 48 | // Singletons |
49 | - $this->app->singleton('crudbooster', function () |
|
49 | + $this->app->singleton('crudbooster', function() |
|
50 | 50 | { |
51 | 51 | return true; |
52 | 52 | }); |
53 | 53 | $this->app->singleton('ColumnSingleton', ColumnSingleton::class); |
54 | 54 | |
55 | 55 | // Merging configuration |
56 | - $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php','crudbooster'); |
|
56 | + $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php', 'crudbooster'); |
|
57 | 57 | |
58 | 58 | |
59 | 59 | // Register Commands |