Skip to content

Commit

Permalink
Remove duplicate interface implementation (#14515)
Browse files Browse the repository at this point in the history
Because the interface `QueueingDispatcher`   inherits from the interface `Illuminate\Contracts\Bus\Dispatcher`, there is no need to implement the interface `Illuminate\Contracts\Bus\Dispatcher` again.
  • Loading branch information
mylxsw authored and taylorotwell committed Jul 28, 2016
1 parent 51fcca4 commit a01a102
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Illuminate/Bus/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Bus\QueueingDispatcher;
use Illuminate\Contracts\Bus\Dispatcher as DispatcherContract;

class Dispatcher implements DispatcherContract, QueueingDispatcher
class Dispatcher implements QueueingDispatcher
{
/**
* The container implementation.
Expand Down

0 comments on commit a01a102

Please sign in to comment.