@@ -181,7 +181,7 @@ |
||
181 | 181 | */ |
182 | 182 | protected function dispatchToRouter() |
183 | 183 | { |
184 | - return function ($request) { |
|
184 | + return function($request) { |
|
185 | 185 | $this->app->instance('request', $request); |
186 | 186 | |
187 | 187 | return $this->router->dispatch($request); |
@@ -645,7 +645,7 @@ |
||
645 | 645 | |
646 | 646 | $this->bootAppCallbacks($this->bootingCallbacks); |
647 | 647 | |
648 | - array_walk($this->serviceProviders, function ($provider) { |
|
648 | + array_walk($this->serviceProviders, function($provider) { |
|
649 | 649 | $this->bootProviderClass($provider); |
650 | 650 | }); |
651 | 651 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function __invoke() |
41 | 41 | { |
42 | - View::replaceNamespace('errors', collect(config('view.paths'))->map(function ($path) { |
|
42 | + View::replaceNamespace('errors', collect(config('view.paths'))->map(function($path) { |
|
43 | 43 | return "{$path}/errors"; |
44 | 44 | })->push(__DIR__.'/views')->all()); |
45 | 45 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function initDebug() |
41 | 41 | { |
42 | - return take(new PleasingPageHandler, function ($handler) { |
|
42 | + return take(new PleasingPageHandler, function($handler) { |
|
43 | 43 | $this->registerEditor($handler); |
44 | 44 | }); |
45 | 45 | } |
@@ -306,7 +306,7 @@ |
||
306 | 306 | */ |
307 | 307 | protected function renderExceptionWithGDebug(Throwable $e) |
308 | 308 | { |
309 | - return take(new GDebug, function ($debug) { |
|
309 | + return take(new GDebug, function($debug) { |
|
310 | 310 | |
311 | 311 | $debug->pushHandler($this->DebugHandler()); |
312 | 312 |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | // Finally, we will set the application's environment based on the configuration |
48 | 48 | // values that were loaded. |
49 | - $app->detectEnvironment(function () use ($config) { |
|
49 | + $app->detectEnvironment(function() use ($config) { |
|
50 | 50 | return $config->get('app.env', 'production'); |
51 | 51 | }); |
52 | 52 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
42 | - $this->app->booted(function () |
|
42 | + $this->app->booted(function() |
|
43 | 43 | { |
44 | 44 | $this->app['router']->getRoutes()->refreshNameLookups(); |
45 | 45 | $this->app['router']->getRoutes()->refreshActionLookups(); |
@@ -49,17 +49,17 @@ |
||
49 | 49 | */ |
50 | 50 | protected function registerConfigurationServices() |
51 | 51 | { |
52 | - $this->app->singleton('db.factory', function ($app) |
|
52 | + $this->app->singleton('db.factory', function($app) |
|
53 | 53 | { |
54 | 54 | return new ConnectionFactory($app); |
55 | 55 | }); |
56 | 56 | |
57 | - $this->app->singleton('db', function ($app) |
|
57 | + $this->app->singleton('db', function($app) |
|
58 | 58 | { |
59 | 59 | return new DatabaseManager($app, $app['db.factory']); |
60 | 60 | }); |
61 | 61 | |
62 | - $this->app->bind('db.connection', function ($app) { |
|
62 | + $this->app->bind('db.connection', function($app) { |
|
63 | 63 | return $app['db']->connection(); |
64 | 64 | }); |
65 | 65 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | */ |
64 | 64 | public function compileInsertGetId(Builder $builder, $values, $sequence) |
65 | 65 | { |
66 | - if (is_null($sequence)) $sequence = 'id' ; |
|
66 | + if (is_null($sequence)) $sequence = 'id'; |
|
67 | 67 | |
68 | 68 | return $this->compileInsert($builder, $values).' returning '.$this->wrap($sequence); |
69 | 69 | } |