We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c6590a commit 4db4f0bCopy full SHA for 4db4f0b
build/gen_stub.php
@@ -3017,6 +3017,10 @@ private static function createOoElement(
3017
$ooElement->appendChild($doc->createElement('modifier', 'abstract'));
3018
$ooElement->appendChild(new DOMText("\n$indentation "));
3019
}
3020
+ if ($classInfo->flags & Class_::MODIFIER_READONLY) {
3021
+ $ooElement->appendChild($doc->createElement('modifier', 'readonly'));
3022
+ $ooElement->appendChild(new DOMText("\n$indentation "));
3023
+ }
3024
3025
3026
$nameElement = $doc->createElement("{$type}name", $classInfo->name->toString());
0 commit comments