Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 18, 2024
1 parent 4071147 commit 21b95e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parameters:
level: 6
level: 9
paths:
- src
- tests/unit
1 change: 1 addition & 0 deletions src/type/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static function fromName(string $typeName, bool $allowsNull): self
'void' => new VoidType,
'array', 'bool', 'boolean', 'double', 'float', 'int', 'integer', 'real', 'resource', 'resource (closed)', 'string' => new SimpleType($typeName, $allowsNull),
'mixed' => new MixedType,
/** @phpstan-ignore argument.type */
default => new ObjectType(TypeName::fromQualifiedName($typeName), $allowsNull),
};
}
Expand Down

0 comments on commit 21b95e1

Please sign in to comment.