mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -185,7 +185,7 @@ class Webhook extends Model
|
||||
$webhookId = (int)$value;
|
||||
/** @var User $user */
|
||||
$user = auth()->user();
|
||||
/** @var Webhook $webhook */
|
||||
/** @var Webhook|null $webhook */
|
||||
$webhook = $user->webhooks()->find($webhookId);
|
||||
if (null !== $webhook) {
|
||||
return $webhook;
|
||||
|
Reference in New Issue
Block a user