Closed martijnimhoff closed 7 years ago
Fixed it by commenting the declarations to the Notification class of Illuminate:
'Notification' => Illuminate\Support\Facades\Notification::class,
Illuminate\Notifications\NotificationServiceProvider::class,
Hi there, I'm getting the following bug after I implemented this package in Laravel using the documentation.
Unresolvable dependency resolving [Parameter #0 [ <required> $defaultContainer ]] in class Krucas\Notification\Notification
I'm on: Laravel 5.4 Package version 5.2.*
This is my middleware
As for
config/app.php
This is in providers:Krucas\Notification\NotificationServiceProvider::class,
And then call it like this:Notification::success('great success!');
I'm a bit stuck on this. Could anyone please help me?