Failed Conditions
Push — master ( 9635a1...82855d )
by Florent
14:04
created
src/Component/Server/Model/AccessToken/AccessToken.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @return AccessToken
68 68
      */
69
-    public function create(AccessTokenId $accessTokenId, ResourceOwnerId $resourceOwnerId, ClientId $clientId, DataBag $parameters, DataBag $metadatas, array $scopes, \DateTimeImmutable $expiresAt, ?RefreshTokenId $refreshTokenId, ?ResourceServerId $resourceServerId)
69
+    public function create(AccessTokenId $accessTokenId, ResourceOwnerId $resourceOwnerId, ClientId $clientId, DataBag $parameters, DataBag $metadatas, array $scopes, \DateTimeImmutable $expiresAt, ? RefreshTokenId $refreshTokenId, ? ResourceServerId $resourceServerId)
70 70
     {
71 71
         $clone = clone $this;
72 72
         $clone->accessTokenId = $accessTokenId;
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * @return null|RefreshTokenId
108 108
      */
109
-    public function getRefreshTokenId(): ?RefreshTokenId
109
+    public function getRefreshTokenId(): ? RefreshTokenId
110 110
     {
111 111
         return $this->refreshTokenId;
112 112
     }
Please login to merge, or discard this patch.
src/Component/Server/Model/AccessToken/AccessTokenRepositoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @return AccessToken
35 35
      */
36
-    public function create(ResourceOwnerId $resourceOwnerId, ClientId $clientId, DataBag $parameters, DataBag $metadatas, array $scopes, ?RefreshTokenId $refreshTokenId, ?ResourceServerId $resourceServerId, ?\DateTimeImmutable $expiresAt): AccessToken;
36
+    public function create(ResourceOwnerId $resourceOwnerId, ClientId $clientId, DataBag $parameters, DataBag $metadatas, array $scopes, ? RefreshTokenId $refreshTokenId, ? ResourceServerId $resourceServerId, ? \DateTimeImmutable $expiresAt) : AccessToken;
37 37
 
38 38
     /**
39 39
      * @param AccessToken $token
Please login to merge, or discard this patch.
src/Component/Server/Model/InitialAccessToken/InitialAccessToken.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @return InitialAccessToken
62 62
      */
63
-    public function create(InitialAccessTokenId $initialAccessTokenId, ?UserAccountId $userAccountId, ?\DateTimeImmutable $expiresAt): InitialAccessToken
63
+    public function create(InitialAccessTokenId $initialAccessTokenId, ? UserAccountId $userAccountId, ? \DateTimeImmutable $expiresAt) : InitialAccessToken
64 64
     {
65 65
         $clone = clone $this;
66 66
         $clone->initialAccessTokenId = $initialAccessTokenId;
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * @return UserAccountId|null
88 88
      */
89
-    public function getUserAccountId(): ?UserAccountId
89
+    public function getUserAccountId(): ? UserAccountId
90 90
     {
91 91
         return $this->userAccountId;
92 92
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     /**
95 95
      * @return \DateTimeImmutable|null
96 96
      */
97
-    public function getExpiresAt(): ?\DateTimeImmutable
97
+    public function getExpiresAt(): ? \DateTimeImmutable
98 98
     {
99 99
         return $this->expiresAt;
100 100
     }
Please login to merge, or discard this patch.
src/Component/Server/Model/InitialAccessToken/InitialAccessTokenId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
Server/Model/InitialAccessToken/InitialAccessTokenRepositoryInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      *
24 24
      * @return InitialAccessToken
25 25
      */
26
-    public function create(?UserAccountId $userAccountId, ?\DateTimeImmutable $expiresAt): InitialAccessToken;
26
+    public function create(? UserAccountId $userAccountId, ? \DateTimeImmutable $expiresAt) : InitialAccessToken;
27 27
 
28 28
     /**
29 29
      * @param InitialAccessToken $initialAccessToken
@@ -38,5 +38,5 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return InitialAccessToken|null Return the initial access token or null if the argument is not a valid initial access token
40 40
      */
41
-    public function find(InitialAccessTokenId $initialAccessTokenId): ?InitialAccessToken;
41
+    public function find(InitialAccessTokenId $initialAccessTokenId): ? InitialAccessToken;
42 42
 }
Please login to merge, or discard this patch.
src/Component/Server/Model/IdToken/IdToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Model/IdToken/IdTokenBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Model/IdToken/IdTokenBuilderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.
src/Component/Server/Model/IdToken/IdTokenId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * The MIT License (MIT)
Please login to merge, or discard this patch.