mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 09:34:59 +00:00
fix cs
This commit is contained in:
@@ -1,11 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Notification;
|
||||
|
||||
use Chill\MainBundle\Entity\Notification;
|
||||
|
||||
/**
|
||||
* Store the notification
|
||||
* Store the notification.
|
||||
*
|
||||
* Those notification will be stored into database by the kernel. This
|
||||
* will also ensure that this happens outside of regular operations
|
||||
@@ -13,10 +22,10 @@ use Chill\MainBundle\Entity\Notification;
|
||||
*/
|
||||
interface NotificationPersisterInterface
|
||||
{
|
||||
public function persist(Notification $notification): void;
|
||||
|
||||
/**
|
||||
* @return array|Notification[]
|
||||
*/
|
||||
public function getWaitingNotifications(): array;
|
||||
|
||||
public function persist(Notification $notification): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user