Skip to content

Commit

Permalink
minor #140 cs: Apply the configured CS rules (theofidry)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chalasr committed Jul 19, 2023
2 parents 4c5c3a1 + bc900df commit 552d8ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace League\Bundle\OAuth2ServerBundle\EventListener;

use League\Bundle\OAuth2ServerBundle\Event\AuthorizationRequestResolveEvent;
Expand Down
4 changes: 1 addition & 3 deletions src/Model/AccessTokenInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@

namespace League\Bundle\OAuth2ServerBundle\Model;

use DateTimeInterface;

interface AccessTokenInterface
{
public function __toString(): string;

public function getIdentifier(): string;

public function getExpiry(): DateTimeInterface;
public function getExpiry(): \DateTimeInterface;

public function getUserIdentifier(): ?string;

Expand Down
4 changes: 1 addition & 3 deletions src/Model/AuthorizationCodeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@

namespace League\Bundle\OAuth2ServerBundle\Model;

use DateTimeInterface;

interface AuthorizationCodeInterface
{
public function __toString(): string;

public function getIdentifier(): string;

public function getExpiryDateTime(): DateTimeInterface;
public function getExpiryDateTime(): \DateTimeInterface;

public function getUserIdentifier(): ?string;

Expand Down
4 changes: 1 addition & 3 deletions src/Model/RefreshTokenInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@

namespace League\Bundle\OAuth2ServerBundle\Model;

use DateTimeInterface;

interface RefreshTokenInterface
{
public function __toString(): string;

public function getIdentifier(): string;

public function getExpiry(): DateTimeInterface;
public function getExpiry(): \DateTimeInterface;

public function getAccessToken(): ?AccessTokenInterface;

Expand Down

0 comments on commit 552d8ee

Please sign in to comment.