Skip to content

Commit

Permalink
Remove typehinting for blade
Browse files Browse the repository at this point in the history
  • Loading branch information
edvinaskrucas committed Mar 27, 2017
1 parent a5f5f82 commit 04efde8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Krucas/Notification/NotificationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Support\ServiceProvider;
use Krucas\Notification\Middleware\NotificationMiddleware;
use Blade;

class NotificationServiceProvider extends ServiceProvider
{
Expand All @@ -28,7 +27,7 @@ public function boot(Dispatcher $dispatcher)

$dispatcher->subscribe('Krucas\Notification\Subscriber');

$this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
$this->app->afterResolving('blade.compiler', function ($bladeCompiler) {
$bladeCompiler->directive('notification', function ($container = null) {
if (strcasecmp('()', $container) === 0) {
$container = null;
Expand Down

0 comments on commit 04efde8

Please sign in to comment.