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 b94858f commit dcaed5cCopy full SHA for dcaed5c
src/TypeSystem/Type.php
@@ -19,7 +19,7 @@ public function __construct(string $type)
19
if (empty($type)) {
20
$this->type = 'mixed';
21
} else {
22
- $this->type = Str::of($type)->replaceMatches('/<[^<>]*>/', '')->toString();
+ $this->type = Str::of($type)->replaceMatches('/<.*>/', '')->toString();
23
}
24
25
0 commit comments