Skip to content

Commit

Permalink
Remove duplicate interface implementation (laravel#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 tillkruss committed Aug 30, 2016
1 parent d2e55f0 commit b35360c
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 b35360c

Please sign in to comment.