mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Add support for true standalone type when generating methodsynopsis
This commit is contained in:
@@ -725,11 +725,7 @@ class Type {
|
||||
}
|
||||
} else {
|
||||
$type = $this->types[0];
|
||||
if ($type->isBuiltin && strtolower($type->name) === "true") {
|
||||
$name = "bool";
|
||||
} else {
|
||||
$name = $type->name;
|
||||
}
|
||||
$name = $type->name;
|
||||
|
||||
$typeElement = $doc->createElement('type', $name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user