Skip to content

Commit d9eb2ec

Browse files
authored
Apply Rector improvements (#267)
1 parent 7167e40 commit d9eb2ec

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/Model/User.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ abstract class User implements \Illuminate\Contracts\Auth\Authenticatable, \Auth
88
{
99
/**
1010
* The model's attributes.
11-
*
12-
* @var array
1311
*/
14-
private $attributes = [];
12+
private array $attributes = [];
1513

1614
/**
1715
* @inheritdoc

src/StateInstance.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ final class StateInstance implements \Auth0\Laravel\Contract\StateInstance
1414
/**
1515
* Decoded token data from the request context.
1616
*/
17-
private ?array $decoded;
17+
private ?array $decoded = null;
1818

1919
/**
2020
* ID Token for the request context, when available.
2121
*/
22-
private ?string $idToken;
22+
private ?string $idToken = null;
2323

2424
/**
2525
* Access Token for the request context, when available.
2626
*/
27-
private ?string $accessToken;
27+
private ?string $accessToken = null;
2828

2929
/**
3030
* Access Token scopes for the request context, when available.
3131
*/
32-
private ?array $accessTokenScope;
32+
private ?array $accessTokenScope = null;
3333

3434
/**
3535
* Access Token expiration timestamp for the request context, when available.
3636
*/
37-
private ?int $accessTokenExpiration;
37+
private ?int $accessTokenExpiration = null;
3838

3939
/**
4040
* Refresh Token for the request context, when available.
4141
*/
42-
private ?string $refreshToken;
42+
private ?string $refreshToken = null;
4343

4444
/**
4545
* @inheritdoc

0 commit comments

Comments
 (0)