Skip to content

Commit

Permalink
Remove dispatchable trait
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljennings committed Nov 4, 2019
1 parent e2e99bd commit fc818ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/Events/CacheableFlushed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
namespace Michaeljennings\Broker\Events;

use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Michaeljennings\Broker\Contracts\Cacheable;

class CacheableFlushed
{
use Dispatchable, SerializesModels;
use SerializesModels;

/**
* The cacheable entity that was flushed.
Expand Down
3 changes: 1 addition & 2 deletions src/Events/CacheableKeyForgotten.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
namespace Michaeljennings\Broker\Events;

use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Michaeljennings\Broker\Contracts\Cacheable;

class CacheableKeyForgotten
{
use Dispatchable, SerializesModels;
use SerializesModels;

/**
* The cacheable entity.
Expand Down
3 changes: 1 addition & 2 deletions src/Events/CacheableKeyWritten.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
namespace Michaeljennings\Broker\Events;

use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Michaeljennings\Broker\Contracts\Cacheable;

class CacheableKeyWritten
{
use Dispatchable, SerializesModels;
use SerializesModels;

/**
* The cacheable entity.
Expand Down

0 comments on commit fc818ca

Please sign in to comment.