@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('roles', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('roles', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('roles', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('reporting', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('reporting', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('reporting', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('notifications', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('notifications', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('notifications', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('core', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('core', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('core', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -31,22 +31,22 @@ discard block |
||
31 | 31 | public function register() |
32 | 32 | { |
33 | 33 | //Bind Core Facade to the Service Container |
34 | - $this->app->singleton('Core', function () { |
|
34 | + $this->app->singleton('Core', function() { |
|
35 | 35 | return new \App\Modules\Core\Core; |
36 | 36 | }); |
37 | 37 | |
38 | 38 | //Bind Errors Facade to the Service Container |
39 | - $this->app->singleton('Errors', function () { |
|
39 | + $this->app->singleton('Errors', function() { |
|
40 | 40 | return new \App\Modules\Core\Errors\Errors; |
41 | 41 | }); |
42 | 42 | |
43 | 43 | //Bind Media Facade to the Service Container |
44 | - $this->app->singleton('Media', function () { |
|
44 | + $this->app->singleton('Media', function() { |
|
45 | 45 | return new \App\Modules\Core\Utl\Media; |
46 | 46 | }); |
47 | 47 | |
48 | 48 | //Bind ApiConsumer Facade to the Service Container |
49 | - $this->app->singleton('ApiConsumer', function () { |
|
49 | + $this->app->singleton('ApiConsumer', function() { |
|
50 | 50 | $app = app(); |
51 | 51 | return new \App\Modules\Core\Utl\ApiConsumer($app, $app['request'], $app['router']); |
52 | 52 | }); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('DummyModuleSlug', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('DummyModuleSlug', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('DummyModuleSlug', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('permissions', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('permissions', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('permissions', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $this->loadMigrationsFrom(module_path('users', 'Database/Migrations', 'app')); |
20 | 20 | $this->loadFactoriesFrom(module_path('users', 'Database/Factories', 'app')); |
21 | - if (!$this->app->configurationIsCached()) { |
|
21 | + if ( ! $this->app->configurationIsCached()) { |
|
22 | 22 | $this->loadConfigsFrom(module_path('users', 'Config', 'app')); |
23 | 23 | } |
24 | 24 | } |
@@ -65,7 +65,7 @@ |
||
65 | 65 | return \Response::json(['errors' => [$errors]], $exception-> getStatusCode()); |
66 | 66 | } elseif ($exception instanceof \Illuminate\Validation\ValidationException) { |
67 | 67 | return \Response::json(['errors' => $exception-> errors()], 422); |
68 | - } elseif (! $exception instanceof \Symfony\Component\ErrorHandler\Error\FatalError) { |
|
68 | + } elseif ( ! $exception instanceof \Symfony\Component\ErrorHandler\Error\FatalError) { |
|
69 | 69 | return parent::render($request, $exception); |
70 | 70 | } |
71 | 71 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('reports', function (Blueprint $table) { |
|
15 | + Schema::create('reports', function(Blueprint $table) { |
|
16 | 16 | increments('id'); |
17 | 17 | $table->string('report_name', 100); |
18 | 18 | $table->string('view_name', 100); |