Skip to content

Commit 1855afb

Browse files
committed
Change issue name
1 parent b3cc3e6 commit 1855afb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Psalm/Internal/Analyzer/FunctionLikeAnalyzer.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
use Psalm\Issue\MissingParamType;
4747
use Psalm\Issue\MissingPureAnnotation;
4848
use Psalm\Issue\MissingThrowsDocblock;
49+
use Psalm\Issue\ParadoxicalCondition;
4950
use Psalm\Issue\ReferenceConstraintViolation;
5051
use Psalm\Issue\ReservedWord;
5152
use Psalm\Issue\UnresolvableConstant;
@@ -1358,7 +1359,7 @@ private function processParams(
13581359
} else {
13591360
if ($param_type->isVoid()) {
13601361
IssueBuffer::maybeAdd(
1361-
new ReservedWord(
1362+
new ParadoxicalCondition(
13621363
'Parameter cannot be void',
13631364
$function_param->type_location,
13641365
'void',
@@ -1369,7 +1370,7 @@ private function processParams(
13691370

13701371
if ($param_type->isNever()) {
13711372
IssueBuffer::maybeAdd(
1372-
new ReservedWord(
1373+
new ParadoxicalCondition(
13731374
'Parameter cannot be never',
13741375
$function_param->type_location,
13751376
'never',

0 commit comments

Comments
 (0)