Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 6a8546b

Browse files
authored
Merge pull request #46 from joselfonseca/analysis-qMKAGL
Apply fixes from StyleCI
2 parents 12a62ee + adf2fcc commit 6a8546b

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

app/Http/Middleware/Authenticate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Authenticate extends Middleware
1414
*/
1515
protected function redirectTo($request)
1616
{
17-
if (!$request->expectsJson()) {
17+
if (! $request->expectsJson()) {
1818
return route('login');
1919
}
2020
}
21-
}
21+
}

app/Http/Middleware/CheckForMaintenanceMode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ class CheckForMaintenanceMode extends Middleware
1414
protected $except = [
1515
//
1616
];
17-
}
17+
}

app/Http/Middleware/EncryptCookies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ class EncryptCookies extends Middleware
1414
protected $except = [
1515
//
1616
];
17-
}
17+
}

app/Http/Middleware/TrustProxies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class TrustProxies extends Middleware
1919
* @var int
2020
*/
2121
protected $headers = Request::HEADER_X_FORWARDED_ALL;
22-
}
22+
}

app/Http/Middleware/VerifyCsrfToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ class VerifyCsrfToken extends Middleware
2020
protected $except = [
2121
//
2222
];
23-
}
23+
}

app/Providers/AppServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class AppServiceProvider extends ServiceProvider
1313
*/
1414
public function register()
1515
{
16-
1716
}
1817

1918
/**

config/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
// App\Providers\BroadcastServiceProvider::class,
150150
App\Providers\EventServiceProvider::class,
151151
App\Providers\RouteServiceProvider::class,
152-
App\Providers\ErrorHandlerServiceProvider::class
152+
App\Providers\ErrorHandlerServiceProvider::class,
153153
],
154154
/*
155155
|--------------------------------------------------------------------------
@@ -198,4 +198,4 @@
198198
'Validator' => Illuminate\Support\Facades\Validator::class,
199199
'View' => Illuminate\Support\Facades\View::class,
200200
],
201-
];
201+
];

0 commit comments

Comments
 (0)