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 049fb17 commit c9eb896
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Implementations/Psr14/EventDispatchers.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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 @@ -47,7 +47,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 @@ -91,7 +91,7 @@ public static function candidates(): CandidatesCollection
*/
public static function discover(): ?EventDispatcherInterface
{
if (self::$using instanceof \Psr\EventDispatcher\EventDispatcherInterface) {
if (self::$using instanceof EventDispatcherInterface) {
return self::$using;
}

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

public static function singleton(): ?EventDispatcherInterface
{
if (self::$using instanceof \Psr\EventDispatcher\EventDispatcherInterface) {
if (self::$using instanceof EventDispatcherInterface) {
return self::$using;
}

Expand Down

0 comments on commit c9eb896

Please sign in to comment.