Skip to content

Commit

Permalink
Merge pull request #1641 from solomon-ochepa/patch-16
Browse files Browse the repository at this point in the history
Update listener-duck.stub
  • Loading branch information
dcblogdev authored Oct 22, 2023
2 parents d743627 + 778d9fc commit 2644b77
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Commands/stubs/listener-duck.stub
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ class $CLASS$
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
Expand All @@ -19,11 +17,8 @@ class $CLASS$

/**
* Handle the event.
*
* @param object $event
* @return void
*/
public function handle($event)
public function handle($event): void
{
//
}
Expand Down

0 comments on commit 2644b77

Please sign in to comment.