Skip to content

Commit 552d8ee

Browse files
committed
minor #140 cs: Apply the configured CS rules (theofidry)
This PR was merged into the 0.4-dev branch. Discussion ---------- cs: Apply the configured CS rules Commits ------- bc900df cs: Apply the configured CS rules
2 parents 4c5c3a1 + bc900df commit 552d8ee

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

src/EventListener/AuthorizationRequestUserResolvingListenerTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace League\Bundle\OAuth2ServerBundle\EventListener;
46

57
use League\Bundle\OAuth2ServerBundle\Event\AuthorizationRequestResolveEvent;

src/Model/AccessTokenInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
namespace League\Bundle\OAuth2ServerBundle\Model;
66

7-
use DateTimeInterface;
8-
97
interface AccessTokenInterface
108
{
119
public function __toString(): string;
1210

1311
public function getIdentifier(): string;
1412

15-
public function getExpiry(): DateTimeInterface;
13+
public function getExpiry(): \DateTimeInterface;
1614

1715
public function getUserIdentifier(): ?string;
1816

src/Model/AuthorizationCodeInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
namespace League\Bundle\OAuth2ServerBundle\Model;
66

7-
use DateTimeInterface;
8-
97
interface AuthorizationCodeInterface
108
{
119
public function __toString(): string;
1210

1311
public function getIdentifier(): string;
1412

15-
public function getExpiryDateTime(): DateTimeInterface;
13+
public function getExpiryDateTime(): \DateTimeInterface;
1614

1715
public function getUserIdentifier(): ?string;
1816

src/Model/RefreshTokenInterface.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
namespace League\Bundle\OAuth2ServerBundle\Model;
66

7-
use DateTimeInterface;
8-
97
interface RefreshTokenInterface
108
{
119
public function __toString(): string;
1210

1311
public function getIdentifier(): string;
1412

15-
public function getExpiry(): DateTimeInterface;
13+
public function getExpiry(): \DateTimeInterface;
1614

1715
public function getAccessToken(): ?AccessTokenInterface;
1816

0 commit comments

Comments
 (0)