We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321fe9e commit 6377548Copy full SHA for 6377548
generator/src/PhpStanFunctions/PhpStanType.php
@@ -107,7 +107,7 @@ public function getSignatureType(?int $errorType = null): string
107
} elseif (\strpos($type, '[]') !== false) {
108
$type = 'iterable'; //generics cannot be typehinted and have to be turned into iterable
109
} elseif (\strpos($type, 'resource') !== false) {
110
- $type = '\resource'; // Compatibilty with php8
+ $type = ''; // resource cant be typehinted
111
}
112
113
0 commit comments