Skip to content

Commit b60df86

Browse files
committed
Use getter for alias template names
1 parent b06deb8 commit b60df86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Alias.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ public function getPhpDocTemplates($prefix = "\t\t")
489489
$templateDoc = new DocBlock('');
490490
$serializer = new DocBlockSerializer(1, $prefix);
491491

492-
foreach ($this->templateNames as $templateName) {
492+
foreach ($this->getTemplateNames() as $templateName) {
493493
$template = new TemplateTag('template', $templateName);
494494
$template->setBound('static');
495495
$template->setDocBlock($templateDoc);

0 commit comments

Comments
 (0)