File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefau
4949<?php foreach ($ namespaces_by_alias_ns as $ namespace => $ aliases ) : ?>
5050namespace <?= $ namespace == '__root ' ? '' : trim ($ namespace , '\\' ) ?> {
5151 <?php foreach ($ aliases as $ alias ) : ?>
52+ <?php if ($ alias ->getExtendsNamespace () == '\Illuminate\Database\Eloquent ' ) : ?>
53+ /** @template TModel of static */
54+ <?php endif ?>
5255 <?= $ alias ->getClassType () ?> <?= $ alias ->getShortName () ?> extends <?= $ alias ->getExtends () ?> {<?php if ($ alias ->getExtendsNamespace () == '\Illuminate\Database\Eloquent ' ) : ?>
5356 <?php foreach ($ alias ->getMethods () as $ method ) : ?>
5457 <?= trim ($ method ->getDocComment (' ' )) ?>
You can’t perform that action at this time.
0 commit comments