Passed
Push — master ( 5dbaed...2ce543 )
by meta
02:51
created
routes/web.microsoft.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-Route::middleware([config('enterpriseauth.routes.middleware')])->group(function () {
3
+Route::middleware([config('enterpriseauth.routes.middleware')])->group(function() {
4 4
     Route::get(config('enterpriseauth.routes.login'), 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@redirectToOauthProvider');
5 5
     Route::get(config('enterpriseauth.routes.logout'), 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@logoutFromOauthProvider');
6 6
     Route::get(config('enterpriseauth.routes.callback'), 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@handleOauthResponse');
7 7
     Route::get(config('enterpriseauth.routes.adminconsent'), 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@redirectToOauthAdminConsent');
8 8
 
9 9
     // This handles a situation where a route with the NAME of login does not exist, we define it to keep from breaking framework redirects hard coded
10
-    if (! \Route::has('login')) {
10
+    if (!\Route::has('login')) {
11 11
         Route::get('login', 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@loginOrRegister')->name('login');
12 12
     }
13
-    if (! \Route::has('register')) {
13
+    if (!\Route::has('register')) {
14 14
         Route::get('register', 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@loginOrRegister')->name('register');
15 15
     }
16
-    if (! \Route::has('logout')) {
16
+    if (!\Route::has('logout')) {
17 17
         Route::get('logout', 'Metaclassing\EnterpriseAuth\Controllers\WebAuthController@logout')->name('logout');
18 18
     }
19 19
 });
Please login to merge, or discard this patch.