Skip to content

Commit dcaed5c

Browse files
committed
Updated regex
1 parent b94858f commit dcaed5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypeSystem/Type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct(string $type)
1919
if (empty($type)) {
2020
$this->type = 'mixed';
2121
} else {
22-
$this->type = Str::of($type)->replaceMatches('/<[^<>]*>/', '')->toString();
22+
$this->type = Str::of($type)->replaceMatches('/<.*>/', '')->toString();
2323
}
2424
}
2525

0 commit comments

Comments
 (0)