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.
2 parents 3ea06ac + f7edc5b commit 71fe908Copy full SHA for 71fe908
src/Models/MailatorSchedule.php
@@ -587,7 +587,7 @@ public function save(array $options = [])
587
->targetableId($this->targetable_id)
588
->mailableClass($mailable)
589
->where('name', $this->name)
590
- ->when($this->getKey(), function(Builder $q) {
+ ->when($this->getKey(), function (Builder $q) {
591
$q->where($this->getKeyName(), '!=', $this->getKey());
592
})
593
->exists();
0 commit comments