Skip to content

Commit

Permalink
Changed return type to void for `Hyperf\Event\Contract\ListenerInte…
Browse files Browse the repository at this point in the history
…rface::process()`. (#4611)
  • Loading branch information
limingxinleo authored Mar 18, 2022
1 parent 69476fd commit bce8f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/DbQueryExecutedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function listen(): array
/**
* @param QueryExecuted $event
*/
public function process(object $event)
public function process(object $event): void
{
if ($this->switchManager->isEnable('db') === false) {
return;
Expand Down

0 comments on commit bce8f38

Please sign in to comment.