Skip to content

Commit

Permalink
Make TriggerWebhooksJob self-handling for Laravel 5.1 installations
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Pociot committed Feb 16, 2016
1 parent 02448e8 commit 4769289
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mpociot/CaptainHook/Jobs/TriggerWebhooksJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
use GuzzleHttp\Middleware;
use Illuminate\Bus\Queueable;
use GuzzleHttp\Promise\Promise;
use Illuminate\Contracts\Bus\SelfHandling;
use Mpociot\CaptainHook\WebhookLog;
use Illuminate\Queue\SerializesModels;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;

class TriggerWebhooksJob implements ShouldQueue
class TriggerWebhooksJob implements SelfHandling, ShouldQueue
{
use Queueable, InteractsWithQueue, SerializesModels;

Expand Down

0 comments on commit 4769289

Please sign in to comment.