X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fnikic%2Fphp-parser%2Flib%2FPhpParser%2FBuilder%2FDeclaration.php;fp=vendor%2Fnikic%2Fphp-parser%2Flib%2FPhpParser%2FBuilder%2FDeclaration.php;h=830949928aac0f9583e1e38363c9c8f5f12dea1e;hp=30a1937f915109d9da30efe806f35bdb9a473b8d;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php index 30a1937f9..830949928 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php @@ -1,12 +1,13 @@ -attributes['comments'] = array( - $this->normalizeDocComment($docComment) - ); + $this->attributes['comments'] = [ + BuilderHelpers::normalizeDocComment($docComment) + ]; return $this; } -} \ No newline at end of file +}