Skip to content

Commit 4227b28

Browse files
Fix Notification is already in use error
1 parent 9077d24 commit 4227b28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Notifications/DoctrineChannel.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace LaravelDoctrine\ORM\Notifications;
44

55
use Doctrine\Common\Persistence\ManagerRegistry;
6-
use Illuminate\Notifications\Notification;
6+
use Illuminate\Notifications\Notification as LaravelNotification;
77
use LaravelDoctrine\ORM\Exceptions\NoEntityManagerFound;
88

99
class DoctrineChannel
@@ -25,9 +25,9 @@ public function __construct(ManagerRegistry $registry)
2525
* Send the given notification.
2626
*
2727
* @param mixed $notifiable
28-
* @param Notification $notification
28+
* @param LaravelNotification $notification
2929
*/
30-
public function send($notifiable, Notification $notification)
30+
public function send($notifiable, LaravelNotification $notification)
3131
{
3232
$entity = $notification->toEntity($notifiable);
3333

0 commit comments

Comments
 (0)