1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 23:44: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

@@ -11,7 +11,7 @@
namespace Flarum\Api\Serializer;
use Flarum\Core\Notification;
use Flarum\Notification\Notification;
use InvalidArgumentException;
class NotificationSerializer extends AbstractSerializer
@@ -32,7 +32,7 @@ class NotificationSerializer extends AbstractSerializer
/**
* {@inheritdoc}
*
* @param \Flarum\Core\Notification $notification
* @param \Flarum\Notification\Notification $notification
* @throws InvalidArgumentException
*/
protected function getDefaultAttributes($notification)