Skip to content

Commit

Permalink
chore: apply updated php-cs-fixer linter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Mar 4, 2024
1 parent 9c6a229 commit 0cbed4d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/Implementations/Psr17/RequestFactories.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function add(CandidateEntity $candidate): void
*/
public static function allCandidates(): CandidatesCollection
{
if (self::$extendedCandidates instanceof \PsrDiscovery\Collections\CandidatesCollection) {
if (self::$extendedCandidates instanceof CandidatesCollection) {
return self::$extendedCandidates;
}

Expand All @@ -48,7 +48,7 @@ public static function allCandidates(): CandidatesCollection
*/
public static function candidates(): CandidatesCollection
{
if (self::$candidates instanceof \PsrDiscovery\Collections\CandidatesCollection) {
if (self::$candidates instanceof CandidatesCollection) {
return self::$candidates;
}

Expand Down Expand Up @@ -134,7 +134,7 @@ public static function candidates(): CandidatesCollection
*/
public static function discover(): ?RequestFactoryInterface
{
if (self::$using instanceof \Psr\Http\Message\RequestFactoryInterface) {
if (self::$using instanceof RequestFactoryInterface) {
return self::$using;
}

Expand Down Expand Up @@ -162,7 +162,7 @@ public static function set(CandidatesCollection $candidates): void

public static function singleton(): ?RequestFactoryInterface
{
if (self::$using instanceof \Psr\Http\Message\RequestFactoryInterface) {
if (self::$using instanceof RequestFactoryInterface) {
return self::$using;
}

Expand Down
8 changes: 4 additions & 4 deletions src/Implementations/Psr17/ResponseFactories.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function add(CandidateEntity $candidate): void
*/
public static function allCandidates(): CandidatesCollection
{
if (self::$extendedCandidates instanceof \PsrDiscovery\Collections\CandidatesCollection) {
if (self::$extendedCandidates instanceof CandidatesCollection) {
return self::$extendedCandidates;
}

Expand All @@ -48,7 +48,7 @@ public static function allCandidates(): CandidatesCollection
*/
public static function candidates(): CandidatesCollection
{
if (self::$candidates instanceof \PsrDiscovery\Collections\CandidatesCollection) {
if (self::$candidates instanceof CandidatesCollection) {
return self::$candidates;
}

Expand Down Expand Up @@ -134,7 +134,7 @@ public static function candidates(): CandidatesCollection
*/
public static function discover(): ?ResponseFactoryInterface
{
if (self::$using instanceof \Psr\Http\Message\ResponseFactoryInterface) {
if (self::$using instanceof ResponseFactoryInterface) {
return self::$using;
}

Expand Down Expand Up @@ -162,7 +162,7 @@ public static function set(CandidatesCollection $candidates): void

public static function singleton(): ?ResponseFactoryInterface
{
if (self::$using instanceof \Psr\Http\Message\ResponseFactoryInterface) {
if (self::$using instanceof ResponseFactoryInterface) {
return self::$using;
}

Expand Down
8 changes: 4 additions & 4 deletions src/Implementations/Psr17/StreamFactories.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function add(CandidateEntity $candidate): void
*/
public static function allCandidates(): CandidatesCollection
{
if (self::$extendedCandidates instanceof \PsrDiscovery\Collections\CandidatesCollection) {
if (self::$extendedCandidates instanceof CandidatesCollection) {
return self::$extendedCandidates;
}

Expand All @@ -48,7 +48,7 @@ public static function allCandidates(): CandidatesCollection
*/
public static function candidates(): CandidatesCollection
{
if (self::$candidates instanceof \PsrDiscovery\Collections\CandidatesCollection) {
if (self::$candidates instanceof CandidatesCollection) {
return self::$candidates;
}

Expand Down Expand Up @@ -134,7 +134,7 @@ public static function candidates(): CandidatesCollection
*/
public static function discover(): ?StreamFactoryInterface
{
if (self::$using instanceof \Psr\Http\Message\StreamFactoryInterface) {
if (self::$using instanceof StreamFactoryInterface) {
return self::$using;
}

Expand Down Expand Up @@ -162,7 +162,7 @@ public static function set(CandidatesCollection $candidates): void

public static function singleton(): ?StreamFactoryInterface
{
if (self::$using instanceof \Psr\Http\Message\StreamFactoryInterface) {
if (self::$using instanceof StreamFactoryInterface) {
return self::$using;
}

Expand Down

0 comments on commit 0cbed4d

Please sign in to comment.