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 621ff58 commit 6ac1096Copy full SHA for 6ac1096
extractor/extract.php
@@ -835,6 +835,11 @@ private function filterFunctionPhpDocs(Node\Stmt\Function_ $function): Node\Stmt
835
'xml_set_start_namespace_decl_handler',
836
'xml_set_end_namespace_decl_handler',
837
], true)) {
838
+ /**
839
+ * Stub was updated in PHP 8.4, but the support for `callable|string|null` already exists before.
840
+ *
841
+ * @see https://github.com/php/php-src/pull/12340/files#diff-2c2d210a6a8bc8eae404fa6938be724484865b47cc574d94d24e2c18524c1b40
842
+ */
843
$comments = $function->getAttribute('comments');
844
if (null !== $comments) {
845
$function->setAttribute('comments', array_map(
0 commit comments