fix formatting and error
This commit is contained in:
parent
b147cadaa2
commit
472265497b
2 changed files with 3 additions and 3 deletions
|
@ -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, [
|
||||
|
|
|
@ -142,7 +142,7 @@ class Func extends Event
|
|||
*/
|
||||
public function trigger(): string|bool
|
||||
{
|
||||
if($this->paused) {
|
||||
if ($this->paused) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue