Skip to content

Commit cb42b1b

Browse files
authored
Fix typo
1 parent 67218fb commit cb42b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ private static function getTypeNameFromType(Type $tagVariableType): ?string
774774

775775
private static function getTypeNameFromString(string $tagVariable): ?string
776776
{
777-
// PHPStan dosn't support typed array shapes (`int[]{...}`) so replace
777+
// PHPStan doesn't support typed array shapes (`int[]{...}`) so replace
778778
// typed arrays such as `int[]` with `array`.
779779
$tagVariableType = preg_replace('#[a-zA-Z0-9_]+\[\]#', 'array', $tagVariable);
780780

0 commit comments

Comments
 (0)