@@ -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 |
@@ -2,8 +2,8 @@ discard block |
||
2 | 2 | namespace crocodicstudio\crudbooster\fonts; |
3 | 3 | |
4 | 4 | class Fontawesome { |
5 | - public static function getIcons() { |
|
6 | - return [ |
|
5 | + public static function getIcons() { |
|
6 | + return [ |
|
7 | 7 | "glass", |
8 | 8 | "music", |
9 | 9 | "search", |
@@ -699,5 +699,5 @@ discard block |
||
699 | 699 | "bluetooth-b", |
700 | 700 | "percent", |
701 | 701 | ]; |
702 | - } |
|
702 | + } |
|
703 | 703 | } |
704 | 704 | \ No newline at end of file |
@@ -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 |
@@ -4,7 +4,7 @@ |
||
4 | 4 | interface CBHook { |
5 | 5 | |
6 | 6 | public function hookGetLogin(); |
7 | - public function hookPostLogin(); |
|
8 | - public function beforeBackendMiddleware($request); |
|
7 | + public function hookPostLogin(); |
|
8 | + public function beforeBackendMiddleware($request); |
|
9 | 9 | public function afterBackendMiddleware($request, $response); |
10 | 10 | } |
11 | 11 | \ No newline at end of file |