@@ -13,7 +13,7 @@ use Symfony\Component\Security\Core\User\UserInterface;
*/
class CommentaireManager {
- protected UserInterface $user;
+ protected ?UserInterface $user;
public function __construct(
protected EntityManagerInterface $em,