Skip to content

Commit

Permalink
PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 17, 2024
1 parent d3ccd39 commit 6d0891b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function annotateMethods(string $path, File $file, array $methods): bo
}

/** @var \IdeHelper\Annotation\LinkAnnotation|null $addingAnnotation */
$addingAnnotation = $method['annotation'] ?? [];
$addingAnnotation = $method['annotation'] ?? null;
if ($addingAnnotation) {
$endIndex = $method['docBlockEnd'];

Expand Down

0 comments on commit 6d0891b

Please sign in to comment.