Skip to content

Commit d7cb055

Browse files
theofidrychalasr
authored andcommitted
style: Apply PHP-CS-Fixer
1 parent 1d105df commit d7cb055

24 files changed

+7
-136
lines changed

src/DBAL/Type/Grant.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ final class Grant extends ImplodedArray
1616
*/
1717
private const NAME = 'oauth2_grant';
1818

19-
/**
20-
* {@inheritdoc}
21-
*/
2219
public function getName(): string
2320
{
2421
return self::NAME;

src/DBAL/Type/ImplodedArray.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str
3939
}
4040

4141
/**
42-
* {@inheritdoc}
43-
*
44-
* @param mixed $value
45-
*
4642
* @psalm-return list<T>
4743
*/
4844
public function convertToPHPValue($value, AbstractPlatform $platform): array
@@ -58,19 +54,13 @@ public function convertToPHPValue($value, AbstractPlatform $platform): array
5854
return $this->convertDatabaseValues($values);
5955
}
6056

61-
/**
62-
* {@inheritdoc}
63-
*/
6457
public function getSQLDeclaration(array $column, AbstractPlatform $platform): string
6558
{
6659
$column['length'] = 65535;
6760

6861
return parent::getSQLDeclaration($column, $platform);
6962
}
7063

71-
/**
72-
* {@inheritdoc}
73-
*/
7464
public function requiresSQLCommentHint(AbstractPlatform $platform): bool
7565
{
7666
return true;

src/DBAL/Type/RedirectUri.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ final class RedirectUri extends ImplodedArray
1616
*/
1717
private const NAME = 'oauth2_redirect_uri';
1818

19-
/**
20-
* {@inheritdoc}
21-
*/
2219
public function getName(): string
2320
{
2421
return self::NAME;

src/DBAL/Type/Scope.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ final class Scope extends ImplodedArray
1616
*/
1717
private const NAME = 'oauth2_scope';
1818

19-
/**
20-
* {@inheritdoc}
21-
*/
2219
public function getName(): string
2320
{
2421
return self::NAME;

src/DependencyInjection/Configuration.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
final class Configuration implements ConfigurationInterface
1515
{
16-
/**
17-
* {@inheritdoc}
18-
*/
1916
public function getConfigTreeBuilder(): TreeBuilder
2017
{
2118
$treeBuilder = new TreeBuilder('league_oauth2_server');

src/DependencyInjection/LeagueOAuth2ServerExtension.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
final class LeagueOAuth2ServerExtension extends Extension implements PrependExtensionInterface, CompilerPassInterface
4343
{
4444
/**
45-
* {@inheritdoc}
46-
*
4745
* @return void
4846
*
4947
* @throws \Exception
@@ -73,17 +71,12 @@ public function load(array $configs, ContainerBuilder $container)
7371
;
7472
}
7573

76-
/**
77-
* {@inheritdoc}
78-
*/
7974
public function getAlias(): string
8075
{
8176
return 'league_oauth2_server';
8277
}
8378

8479
/**
85-
* {@inheritdoc}
86-
*
8780
* @return void
8881
*/
8982
public function prepend(ContainerBuilder $container)
@@ -101,8 +94,6 @@ public function prepend(ContainerBuilder $container)
10194
}
10295

10396
/**
104-
* {@inheritdoc}
105-
*
10697
* @return void
10798
*/
10899
public function process(ContainerBuilder $container)

src/Entity/Scope.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ final class Scope implements ScopeEntityInterface
1111
{
1212
use EntityTrait;
1313

14-
/**
15-
* {@inheritdoc}
16-
*
17-
* @return mixed
18-
*/
1914
#[\ReturnTypeWillChange]
2015
public function jsonSerialize()
2116
{

src/LeagueOAuth2ServerBundle.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
final class LeagueOAuth2ServerBundle extends Bundle
1919
{
2020
/**
21-
* {@inheritdoc}
22-
*
2321
* @return void
2422
*/
2523
public function build(ContainerBuilder $container)
@@ -30,9 +28,6 @@ public function build(ContainerBuilder $container)
3028
$this->configureSecurityExtension($container);
3129
}
3230

33-
/**
34-
* {@inheritdoc}
35-
*/
3631
public function getContainerExtension(): ExtensionInterface
3732
{
3833
return new LeagueOAuth2ServerExtension();

src/Model/RefreshToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class RefreshToken implements RefreshTokenInterface
2929
/**
3030
* @psalm-mutation-free
3131
*/
32-
public function __construct(string $identifier, \DateTimeInterface $expiry, ?AccessTokenInterface $accessToken = null)
32+
public function __construct(string $identifier, \DateTimeInterface $expiry, AccessTokenInterface $accessToken = null)
3333
{
3434
$this->identifier = $identifier;
3535
$this->expiry = $expiry;

src/Repository/AccessTokenRepository.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ public function __construct(
4242
$this->scopeConverter = $scopeConverter;
4343
}
4444

45-
/**
46-
* {@inheritdoc}
47-
*/
4845
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null)
4946
{
5047
/** @var int|string|null $userIdentifier */
@@ -59,9 +56,6 @@ public function getNewToken(ClientEntityInterface $clientEntity, array $scopes,
5956
return $accessToken;
6057
}
6158

62-
/**
63-
* {@inheritdoc}
64-
*/
6559
public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity): void
6660
{
6761
$accessToken = $this->accessTokenManager->find($accessTokenEntity->getIdentifier());

0 commit comments

Comments
 (0)