mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-04-29 19:13:05 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -78,7 +78,7 @@ class WebhookAttempt extends Model
|
||||
$attemptId = (int)$value;
|
||||
/** @var User $user */
|
||||
$user = auth()->user();
|
||||
/** @var WebhookAttempt $attempt */
|
||||
/** @var WebhookAttempt|null $attempt */
|
||||
$attempt = self::find($attemptId);
|
||||
if (null !== $attempt && $attempt->webhookMessage->webhook->user_id === $user->id) {
|
||||
return $attempt;
|
||||
|
||||
Reference in New Issue
Block a user