Skip to content

Commit

Permalink
fixed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Apr 26, 2022
1 parent a351ac5 commit 77af143
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Jobs/Common/CreateDashboard.php
Expand Up @@ -24,6 +24,8 @@ public function handle(): Dashboard
$users = $this->getUsers();

if (empty($users)) {
$this->model = Dashboard::make();

return;
}

Expand Down

0 comments on commit 77af143

Please sign in to comment.