Skip to content

Commit 8c385ea

Browse files
authored
Changed return type to void for Hyperf\Event\Contract\ListenerInterface::process(). (#4611)
1 parent 6bf8db3 commit 8c385ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Listener/ClearTimerListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function listen(): array
2424
];
2525
}
2626

27-
public function process(object $event)
27+
public function process(object $event): void
2828
{
2929
class_exists(Timer::class) && Timer::clearAll();
3030
}

0 commit comments

Comments
 (0)