@@ -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"); |
@@ -24,12 +24,12 @@ 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'); |
|
29 | + $this->publishes([__DIR__.'/database' => base_path('database')], 'cb_migration'); |
|
30 | 30 | $this->publishes([ |
31 | - __DIR__ . '/assets' =>public_path('cb_asset') |
|
32 | - ],'cb_asset'); |
|
31 | + __DIR__.'/assets' =>public_path('cb_asset') |
|
32 | + ], 'cb_asset'); |
|
33 | 33 | |
34 | 34 | require __DIR__.'/validations/validation.php'; |
35 | 35 | require __DIR__.'/routes.php'; |
@@ -45,14 +45,14 @@ discard block |
||
45 | 45 | require __DIR__.'/helpers/Helper.php'; |
46 | 46 | |
47 | 47 | // Singletons |
48 | - $this->app->singleton('crudbooster', function () |
|
48 | + $this->app->singleton('crudbooster', function() |
|
49 | 49 | { |
50 | 50 | return true; |
51 | 51 | }); |
52 | 52 | $this->app->singleton('ColumnSingleton', ColumnSingleton::class); |
53 | 53 | |
54 | 54 | // Merging configuration |
55 | - $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php','crudbooster'); |
|
55 | + $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php', 'crudbooster'); |
|
56 | 56 | |
57 | 57 | |
58 | 58 | // Register Commands |
@@ -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 |