mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove unnecessary workaround for the true type
This commit is contained in:
parent
648e896d0e
commit
368febbf89
1 changed files with 0 additions and 5 deletions
|
@ -218,11 +218,6 @@ class SimpleType {
|
|||
return new SimpleType($node->toLowerString(), true);
|
||||
}
|
||||
|
||||
if ($node->toLowerString() === 'true') {
|
||||
// TODO PHP-Parser doesn't yet recognize true as a stand-alone built-in type
|
||||
return new SimpleType($node->toLowerString(), true);
|
||||
}
|
||||
|
||||
if ($node->toLowerString() === 'self') {
|
||||
throw new Exception('The exact class name must be used instead of "self"');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue