Skip to content

Commit 71fe908

Browse files
committed
Merge branch '3.x' of github.com:BinarCode/laravel-mailator into 3.x
2 parents 3ea06ac + f7edc5b commit 71fe908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/MailatorSchedule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ public function save(array $options = [])
587587
->targetableId($this->targetable_id)
588588
->mailableClass($mailable)
589589
->where('name', $this->name)
590-
->when($this->getKey(), function(Builder $q) {
590+
->when($this->getKey(), function (Builder $q) {
591591
$q->where($this->getKeyName(), '!=', $this->getKey());
592592
})
593593
->exists();

0 commit comments

Comments
 (0)