1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

Extract Flarum\Notification namespace

This commit is contained in:
Franz Liedke
2017-06-24 14:22:19 +02:00
parent 4a13cd8088
commit b38ade986d
18 changed files with 42 additions and 45 deletions

View File

@@ -13,7 +13,7 @@ namespace Flarum\Core\Command;
use DateTime;
use Flarum\User\AssertPermissionTrait;
use Flarum\Core\Notification\NotificationSyncer;
use Flarum\Notification\NotificationSyncer;
use Flarum\Post\CommentPost;
use Flarum\Discussion\DiscussionRepository;
use Flarum\Foundation\DispatchEventsTrait;
@@ -32,7 +32,7 @@ class PostReplyHandler
protected $discussions;
/**
* @var NotificationSyncer
* @var \Flarum\Notification\NotificationSyncer
*/
protected $notifications;
@@ -44,7 +44,7 @@ class PostReplyHandler
/**
* @param Dispatcher $events
* @param DiscussionRepository $discussions
* @param NotificationSyncer $notifications
* @param \Flarum\Notification\NotificationSyncer $notifications
* @param PostValidator $validator
*/
public function __construct(

View File

@@ -12,7 +12,7 @@
namespace Flarum\Core\Command;
use Flarum\User\AssertPermissionTrait;
use Flarum\Core\Repository\NotificationRepository;
use Flarum\Notification\NotificationRepository;
class ReadAllNotificationsHandler
{

View File

@@ -12,7 +12,7 @@
namespace Flarum\Core\Command;
use Flarum\User\AssertPermissionTrait;
use Flarum\Core\Notification;
use Flarum\Notification\Notification;
class ReadNotificationHandler
{
@@ -20,7 +20,7 @@ class ReadNotificationHandler
/**
* @param ReadNotification $command
* @return \Flarum\Core\Notification
* @return \Flarum\Notification\Notification
* @throws \Flarum\User\Exception\PermissionDeniedException
*/
public function handle(ReadNotification $command)