We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8036ed6 commit 8b6e877Copy full SHA for 8b6e877
src/Model/Event.php
@@ -7,7 +7,7 @@
7
8
abstract class Event extends ToArray implements Facade\Export
9
{
10
- private bool $debug = false;
+ private $debug = false;
11
12
/**
13
* Return the name of the event
@@ -16,9 +16,9 @@ abstract class Event extends ToArray implements Facade\Export
16
*/
17
abstract public function getName(): string;
18
19
- public function debug(bool $on = true)
+ public function debug($on = true)
20
21
- $this->debug = true;
+ $this->debug = boolval($on);
22
23
return $this;
24
}
0 commit comments