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 fc81780 commit 7477a34Copy full SHA for 7477a34
src/SchedulerManager.php
@@ -24,7 +24,7 @@ public function run(): void
24
25
public function __destruct()
26
{
27
- if ($this->instance && ! $this->instance->wasRecentlyCreated) {
+ if (isset($this->instance) && $this->instance && ! $this->instance->wasRecentlyCreated) {
28
$this->instance->save();
29
}
30
0 commit comments