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