Completed
Push — develop ( 9543d2...950273 )
by Niclas Leon
12s
created
app/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         /*
20 20
          * Authenticate the user's personal channel...
21 21
          */
22
-        Broadcast::channel('App.User.*', function ($user, $userId) {
22
+        Broadcast::channel('App.User.*', function($user, $userId) {
23 23
             return (int) $user->id === (int) $userId;
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         Route::group([
55 55
             'middleware' => 'web',
56 56
             'namespace' => $this->namespace,
57
-        ], function ($router) {
57
+        ], function($router) {
58 58
             require base_path('routes/web.php');
59 59
         });
60 60
     }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             'middleware' => 'api',
73 73
             'namespace' => $this->namespace,
74 74
             'prefix' => 'api',
75
-        ], function ($router) {
75
+        ], function($router) {
76 76
             require base_path('routes/api.php');
77 77
         });
78 78
     }
Please login to merge, or discard this patch.
app/Hacktoberfest/GitHub/GitHubServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function register()
22 22
     {
23
-        $this->app->singleton('App\Hacktoberfest\GitHub\PullRequestChecker', function ($app) {
23
+        $this->app->singleton('App\Hacktoberfest\GitHub\PullRequestChecker', function($app) {
24 24
             return new PullRequestChecker($app->make('cache'));
25 25
         });
26 26
     }
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function provides()
34 34
     {
35
-        return [PullRequestChecker::class];
35
+        return [ PullRequestChecker::class ];
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
app/Hacktoberfest/OAuth/SocialiteManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     protected function createGithubDriver()
15 15
     {
16
-        $config = $this->app['config']['services.github'];
16
+        $config = $this->app[ 'config' ][ 'services.github' ];
17 17
 
18 18
         return $this->buildProvider(
19 19
             'App\Hacktoberfest\OAuth\Providers\ScopelessGithubProvider',
Please login to merge, or discard this patch.
app/Hacktoberfest/OAuth/Providers/ScopelessGithubProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected $scopes = [];
15
+    protected $scopes = [ ];
16 16
 }
Please login to merge, or discard this patch.
app/Hacktoberfest/OAuth/SocialiteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function register()
15 15
     {
16
-        $this->app->singleton('Laravel\Socialite\Contracts\Factory', function ($app) {
16
+        $this->app->singleton('Laravel\Socialite\Contracts\Factory', function($app) {
17 17
             return new SocialiteManager($app);
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
app/Http/Controllers/AuthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function redirectToProvider()
18 18
     {
19
-        return Socialite::driver('github')->scopes([])->redirect();
19
+        return Socialite::driver('github')->scopes([ ])->redirect();
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function render($request, Exception $exception)
52 52
     {
53 53
         if (!app()->environment('local')) {
54
-            return response()->view('errors.500', [], 500);
54
+            return response()->view('errors.500', [ ], 500);
55 55
         }
56 56
 
57 57
         return parent::render($request, $exception);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     protected function unauthenticated($request, AuthenticationException $exception)
68 68
     {
69 69
         if ($request->expectsJson()) {
70
-            return response()->json(['error' => 'Unauthenticated.'], 401);
70
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
71 71
         }
72 72
 
73 73
         return redirect()->guest('login');
Please login to merge, or discard this patch.