Skip to content

Commit

Permalink
Merge pull request #285 from bowphp/papac-patch-1
Browse files Browse the repository at this point in the history
Fix Serializes importation in event.stub
  • Loading branch information
papac authored Dec 14, 2024
2 parents e7d6310 + dc457c4 commit 0d232ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Console/stubs/event.stub
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ namespace {baseNamespace}{namespace};

use Bow\Event\Contracts\AppEvent;
use Bow\Event\Dispatchable;
use Bow\Queue\Traits\SerializesModels;
use Bow\Support\Serializes;

class {className} implements AppEvent
{
use Dispatchable, SerializesModels;
use Dispatchable, Serializes;

/**
* Create a new event instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ namespace App\Events;

use Bow\Event\Contracts\AppEvent;
use Bow\Event\Dispatchable;
use Bow\Queue\Traits\SerializesModels;
use Bow\Support\Serializes;

class FakeEvent implements AppEvent
{
use Dispatchable, SerializesModels;
use Dispatchable, Serializes;

/**
* Create a new event instance.
Expand Down

0 comments on commit 0d232ad

Please sign in to comment.