GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#4)
by Lukáš
02:48
created
src/Client/ClientRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	 * @param string $grantType
41 41
 	 * @param string|null $clientSecret
42 42
 	 * @param bool $mustValidateSecret
43
-	 * @return ClientEntityInterface|null
43
+	 * @return ClientEntity|null
44 44
 	 */
45 45
 	public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null, $mustValidateSecret = true)
46 46
 	{
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine\Client;
5 5
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	{
34 34
 		$this->entityManager = $entityManager;
35 35
 		$this->repository = $entityManager->getRepository(ClientEntity::class);
36
-		$this->secretValidator = $secretValidator ?: function ($expected, $actual) { return hash_equals($expected, $actual); };
36
+		$this->secretValidator = $secretValidator ?: function($expected, $actual) { return hash_equals($expected, $actual); };
37 37
 	}
38 38
 
39 39
 	/**
Please login to merge, or discard this patch.
src/Client/ClientQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine\Client;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	 */
21 21
 	public function byIdentifier(string $identifier): ClientQuery
22 22
 	{
23
-		$this->filters[] = function (QueryBuilder $queryBuilder) use ($identifier) {
23
+		$this->filters[] = function(QueryBuilder $queryBuilder) use ($identifier) {
24 24
 			$queryBuilder->andWhere('c.identifier = :identifier')->setParameter('identifier', $identifier);
25 25
 		};
26 26
 		return $this;
Please login to merge, or discard this patch.
src/TablePrefixListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine;
5 5
 
Please login to merge, or discard this patch.
src/Scope/ScopeRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine;
5 5
 
Please login to merge, or discard this patch.
src/Scope/ScopeEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine;
5 5
 
Please login to merge, or discard this patch.
src/Scope/ScopeQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine\Client;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	 */
21 21
 	public function byIdentifier(string $identifier): ClientQuery
22 22
 	{
23
-		$this->filters[] = function (QueryBuilder $queryBuilder) use ($identifier) {
23
+		$this->filters[] = function(QueryBuilder $queryBuilder) use ($identifier) {
24 24
 			$queryBuilder->andWhere('c.identifier = :identifier')->setParameter('identifier', $identifier);
25 25
 		};
26 26
 		return $this;
Please login to merge, or discard this patch.
src/AuthorizationRequestSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine;
5 5
 
Please login to merge, or discard this patch.
src/AccessToken/AccessTokenQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine\Client;
5 5
 
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	 */
21 21
 	public function byIdentifier(string $identifier): ClientQuery
22 22
 	{
23
-		$this->filters[] = function (QueryBuilder $queryBuilder) use ($identifier) {
23
+		$this->filters[] = function(QueryBuilder $queryBuilder) use ($identifier) {
24 24
 			$queryBuilder->andWhere('c.identifier = :identifier')->setParameter('identifier', $identifier);
25 25
 		};
26 26
 		return $this;
Please login to merge, or discard this patch.
src/AccessToken/AccessTokenRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Lookyman\NetteOAuth2Server\Storage\Doctrine;
5 5
 
Please login to merge, or discard this patch.