Skip to content

Commit

Permalink
Fix sa
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Mar 5, 2024
1 parent bcf9955 commit 7890382
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

// `Symfony\Component\Messenger\Handler\MessageHandlerInterface` was removed in "symfony/messenger" 7.
// @todo: Remove this interface when dropping support for "symfony/messenger" < 7.
/** @psalm-suppress UndefinedClass */
if (interface_exists(MessageHandlerInterface::class)) {
class_alias(MessageHandlerInterface::class, __NAMESPACE__.'\BackwardCompatibleMessageHandlerInterface');
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/NoDriverGalleryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function findOneBy(array $criteria, ?array $orderBy = null): ?object
throw new NoDriverException();
}

public function find($id): ?object
public function find(mixed $id): ?object
{
throw new NoDriverException();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Model/NoDriverMediaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function findOneBy(array $criteria, ?array $orderBy = null): ?object
throw new NoDriverException();
}

public function find($id): ?object
public function find(mixed $id): ?object
{
throw new NoDriverException();
}
Expand Down

0 comments on commit 7890382

Please sign in to comment.