1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12: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
{
if($this->paused) {
return;
if ($this->paused) {
return false;
}
return Resque::enqueue($this->queue, $this->class, [

View file

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