Passed
Push — master ( 764afc...861db3 )
by Paul
10:39 queued 06:26
created
src/RouteRegistration.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             'namespace' => 'Devpri\Tinre\Http\Controllers',
40 40
             'prefix' => Tinre::dashboardPath(),
41 41
             'middleware' => $middleware,
42
-        ], function () {
42
+        ], function() {
43 43
             Route::get('login', 'Auth\LoginController@showLoginForm')->name('login');
44 44
             Route::post('login', 'Auth\LoginController@login');
45 45
             Route::post('logout', 'Auth\LoginController@logout')->name('logout');
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             'namespace' => 'Devpri\Tinre\Http\Controllers',
55 55
             'prefix' => Tinre::dashboardPath(),
56 56
             'middleware' => $middleware,
57
-        ], function () {
57
+        ], function() {
58 58
             Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
59 59
             Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
60 60
             Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             'namespace' => 'Devpri\Tinre\Http\Controllers',
71 71
             'prefix' => Tinre::dashboardPath(),
72 72
             'middleware' => $middleware,
73
-        ], function () {
73
+        ], function() {
74 74
             Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
75 75
             Route::post('register', 'Auth\RegisterController@register');
76 76
         });
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
             'namespace' => 'Devpri\Tinre\Http\Controllers',
85 85
             'prefix' => Tinre::dashboardPath(),
86 86
             'middleware' => $middleware,
87
-        ], function () {
87
+        ], function() {
88 88
             Route::get('email/verify', 'Auth\VerificationController@show')->name('verification.notice');
89 89
             Route::get('email/verify/{id}/{hash}', 'Auth\VerificationController@verify')->name('verification.verify');
90 90
             Route::post('email/resend', 'Auth\VerificationController@resend')->name('verification.resend');
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             'namespace' => 'Devpri\Tinre\Http\Controllers',
100 100
             'prefix' => Tinre::dashboardPath(),
101 101
             'middleware' => $middleware,
102
-        ], function () {
102
+        ], function() {
103 103
             Route::get('email/change/{token}', 'Auth\ChangeEmailController@change')->name('email.change');
104 104
             Route::post('email/change', 'Auth\ChangeEmailController@create')->name('email.request');
105 105
         });
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
     public function __destruct()
111 111
     {
112
-        if (! $this->registered) {
112
+        if (!$this->registered) {
113 113
             $this->register();
114 114
         }
115 115
     }
Please login to merge, or discard this patch.