fixed return type
This commit is contained in:
parent
a351ac5e34
commit
77af143dd6
@ -24,6 +24,8 @@ class CreateDashboard extends Job implements HasOwner, HasSource, ShouldCreate
|
|||||||
$users = $this->getUsers();
|
$users = $this->getUsers();
|
||||||
|
|
||||||
if (empty($users)) {
|
if (empty($users)) {
|
||||||
|
$this->model = Dashboard::make();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user