Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cs: Apply the configured CS rules #140

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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