Skip to content

Commit

Permalink
Fix phpmd issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Sep 23, 2024
1 parent 1a3bd4b commit 920373e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cms/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public function impersonate(string|null $who = null): User|null
'id' => 'nobody',
'role' => 'nobody',
]),
default => $this->kirby->users()->find($who) ?? throw new NotFoundException(message: 'The user "' . $who . '" cannot be found')
default => $this->kirby->users()->find($who) ?? throw new NotFoundException(message: 'The user "' . $who . '" cannot be found'),
};
}

Expand Down

0 comments on commit 920373e

Please sign in to comment.