mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 04:53:49 +00:00
get notification also for UserInterface
This will allow notification for admin
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
namespace Chill\MainBundle\Templating\UI;
|
||||
|
||||
use Chill\MainBundle\Entity\User;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -28,5 +28,5 @@ interface NotificationCounterInterface
|
||||
/**
|
||||
* Add a number of notification
|
||||
*/
|
||||
public function addNotification(User $u): int;
|
||||
public function addNotification(UserInterface $u): int;
|
||||
}
|
||||
|
Reference in New Issue
Block a user