Skip to content

Commit

Permalink
Use Event Dispatcher Contract instead of class
Browse files Browse the repository at this point in the history
I started to use lorisleiva/actions and now cloner fails because
Actions wraps the Events Dispatcher. Switching to the interface
allows everything to get along.
  • Loading branch information
c17r committed Aug 6, 2020
1 parent 34e6dc5 commit 9dd2d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cloner.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace Bkwld\Cloner;

// Deps
use Illuminate\Events\Dispatcher as Events;
use Illuminate\Contracts\Events\Dispatcher as Events;
use Illuminate\Support\Arr;

/**
Expand Down

0 comments on commit 9dd2d19

Please sign in to comment.