Skip to content

Commit

Permalink
fix: Update @ignore-line
Browse files Browse the repository at this point in the history
  • Loading branch information
neznaika0 committed Nov 9, 2024
1 parent 3899a36 commit 0713306
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions system/Autoloader/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,7 @@ private function loadComposerNamespaces(ClassLoader $composer, array $composerPa
}
}

// @phpstan-ignore-next-line
if (! method_exists(InstalledVersions::class, 'getAllRawData')) {
if (! method_exists(InstalledVersions::class, 'getAllRawData')) { // @phpstan-ignore function.alreadyNarrowedType
throw new RuntimeException(
'Your Composer version is too old.'
. ' Please update Composer (run `composer self-update`) to v2.0.14 or later'
Expand Down

0 comments on commit 0713306

Please sign in to comment.