File tree Expand file tree Collapse file tree 6 files changed +14
-17
lines changed Expand file tree Collapse file tree 6 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ class LoginAction extends ResponseAction
17
17
/**
18
18
* Constructor to action.
19
19
*
20
- * @param Illuminate\Contracts\Auth\Authenticatable $user
21
- * @param mixed $httpResponse
22
- * @param string|null $guard
20
+ * @param Illuminate\Contracts\Auth\Authenticatable $user
21
+ * @param mixed $httpResponse
22
+ * @param string|null $guard
23
23
*/
24
24
public function __construct (Authenticatable $ user , $ httpResponse = null , string $ guard = 'web ' )
25
25
{
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ class ResponseAction extends ActionAbstract
22
22
/**
23
23
* Constructor to action.
24
24
*
25
- * @param \Illuminate\Database\Eloquent\Model $user
26
- * @param mixed $httpResponse
25
+ * @param \Illuminate\Database\Eloquent\Model $user
26
+ * @param mixed $httpResponse
27
27
*/
28
28
public function __construct ($ httpResponse = null )
29
29
{
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ class ViewAction extends ActionAbstract
13
13
/**
14
14
* Constructor action.
15
15
*
16
- * @param \Illuminate\Contracts\Support\Arrayable|array $data
17
- * @param array $mergeData
16
+ * @param \Illuminate\Contracts\Support\Arrayable|array $data
17
+ * @param array $mergeData
18
18
*/
19
19
public function __construct (string $ view , $ data = [], $ mergeData = [])
20
20
{
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ public function checkAccessCode(?string $accessCode): bool
118
118
*/
119
119
public function protectedWithAcessCode (): bool
120
120
{
121
- return !is_null ($ this ->access_code ?? null );
121
+ return ! is_null ($ this ->access_code ?? null );
122
122
}
123
123
124
124
/**
@@ -149,8 +149,7 @@ public function visited()
149
149
/**
150
150
* Get valid MagicLink by token.
151
151
*
152
- * @param string $token
153
- *
152
+ * @param string $token
154
153
* @return \MagicLink\MagicLink|null
155
154
*/
156
155
public static function getValidMagicLinkByToken ($ token )
@@ -179,8 +178,7 @@ public static function getValidMagicLinkByToken($token)
179
178
/**
180
179
* Get MagicLink by token.
181
180
*
182
- * @param string $token
183
- *
181
+ * @param string $token
184
182
* @return \MagicLink\MagicLink|null
185
183
*/
186
184
public static function getMagicLinkByToken ($ token )
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function testResponseCallableWithMagicLink()
128
128
{
129
129
$ magiclink = MagicLink::create (new ResponseAction (
130
130
function ($ magiclink ) {
131
- if (!MagicLink::first ()) {
131
+ if (! MagicLink::first ()) {
132
132
return redirect ('/ ' );
133
133
}
134
134
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ public function setUp(): void
16
16
}
17
17
18
18
/**
19
- * @param \Illuminate\Foundation\Application $app
20
- *
19
+ * @param \Illuminate\Foundation\Application $app
21
20
* @return array
22
21
*/
23
22
protected function getPackageProviders ($ app )
@@ -30,7 +29,7 @@ protected function getPackageProviders($app)
30
29
/**
31
30
* Set up the environment.
32
31
*
33
- * @param \Illuminate\Foundation\Application $app
32
+ * @param \Illuminate\Foundation\Application $app
34
33
*/
35
34
protected function getEnvironmentSetUp ($ app )
36
35
{
@@ -84,7 +83,7 @@ protected function getEnvironmentSetUp($app)
84
83
/**
85
84
* Set up the database.
86
85
*
87
- * @param \Illuminate\Foundation\Application $app
86
+ * @param \Illuminate\Foundation\Application $app
88
87
*/
89
88
protected function setUpDatabase ($ app )
90
89
{
You can’t perform that action at this time.
0 commit comments