Passed
Branch master (ef0625)
by Alexander
04:19
created
src/components/Core/Http/Lenevor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/components/Core/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -645,7 +645,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/components/Core/Exceptions/RegisterErrorViewPaths.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/components/Core/Exceptions/DebugHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/components/Core/Exceptions/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -306,7 +306,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/components/Core/Bootstrap/BootConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
 		
Please login to merge, or discard this patch.
src/components/Core/Support/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/components/Database/Connection.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      */
261 261
     public function select($query, $bindings = [], $useReadPdo = true)
262 262
     {
263
-        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
263
+        return $this->run($query, $bindings, function($query, $bindings) use ($useReadPdo) {
264 264
 
265 265
             if ($this->pretending())
266 266
             {
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
      */
330 330
     public function statement($query, $bindings = [])
331 331
     {
332
-        return $this->run($query, $bindings, function ($query, $bindings) {
332
+        return $this->run($query, $bindings, function($query, $bindings) {
333 333
 
334 334
             if ($this->pretending())
335 335
             {
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
      */
356 356
     public function affectingStatement($query, $bindings = [])
357 357
     {
358
-        return $this->run($query, $bindings, function ($query, $bindings) {
358
+        return $this->run($query, $bindings, function($query, $bindings) {
359 359
 
360 360
             if ($this->pretending())
361 361
             {
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
      */
385 385
     public function prepend(Closure $callback)
386 386
     {
387
-        return $this->withFreshQueryLog(function () use ($callback) {
387
+        return $this->withFreshQueryLog(function() use ($callback) {
388 388
 
389 389
             $this->pretending = true;
390 390
 
@@ -608,7 +608,7 @@  discard block
 block discarded – undo
608 608
             return;
609 609
         }
610 610
 
611
-        switch($event)
611
+        switch ($event)
612 612
         {
613 613
             case 'beginTransaction':
614 614
                 return $this->events->dispatch(new TransactionBegin($this));
Please login to merge, or discard this patch.
src/components/Database/DatabaseServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,17 +49,17 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.