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
+2 -2
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, [
+1 -1
View File
@@ -142,7 +142,7 @@ class Func extends Event
*/
public function trigger(): string|bool
{
if($this->paused) {
if ($this->paused) {
return;
}