File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public static function afterStatementAnalysis(AfterClassLikeAnalysisEvent $event
167
167
}
168
168
169
169
foreach ($ specials ['dataProvider ' ] as $ line => $ provider ) {
170
- if (VersionUtils::packageVersionIs ('vimeo/psalm ' , '< ' , '5.0 ' )) {
170
+ if (VersionUtils::packageVersionIs ('vimeo/psalm ' , '<= ' , '4.99 ' )) {
171
171
$ provider_docblock_location = clone $ method_storage ->location ;
172
172
$ provider_docblock_location ->setCommentLine ($ line );
173
173
} else {
@@ -337,7 +337,7 @@ static function (
337
337
$ provider_docblock_location
338
338
): void {
339
339
if ($ is_optional ) {
340
- if (VersionUtils::packageVersionIs ('vimeo/psalm ' , '< ' , '5.0 ' )) {
340
+ if (VersionUtils::packageVersionIs ('vimeo/psalm ' , '<= ' , '4.99 ' )) {
341
341
$ param_type = clone $ param_type ;
342
342
$ param_type ->possibly_undefined = true ;
343
343
} else {
You can’t perform that action at this time.
0 commit comments