1
0
Fork 0
mirror of synced 2024-10-03 02:37:40 +13:00

fix formatting and error

This commit is contained in:
Damodar Lohani 2023-05-11 06:12:39 +00:00
parent b147cadaa2
commit 472265497b
2 changed files with 3 additions and 3 deletions

View file

@ -264,8 +264,8 @@ class Event
*/ */
public function trigger(): string|bool public function trigger(): string|bool
{ {
if($this->paused) { if ($this->paused) {
return; return false;
} }
return Resque::enqueue($this->queue, $this->class, [ return Resque::enqueue($this->queue, $this->class, [

View file

@ -142,7 +142,7 @@ class Func extends Event
*/ */
public function trigger(): string|bool public function trigger(): string|bool
{ {
if($this->paused) { if ($this->paused) {
return; return;
} }