diff --git a/src/Listener/UserCoverRelationship.php b/src/Listener/UserCoverRelationship.php index a5fc7f7..6652bb1 100644 --- a/src/Listener/UserCoverRelationship.php +++ b/src/Listener/UserCoverRelationship.php @@ -58,7 +58,7 @@ public function __invoke(UserSerializer $serializer, User $user): array */ public function thumbnailUrl(?string $imageName) { - if (empty($imageName) { + if (empty($imageName)) { return null; }