mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
No need PhpDocSignatureInspection for _ide_helper when method doc-comment is empty
This commit is contained in:
@@ -29,7 +29,7 @@ namespace <?= $namespace == '__root' ? '' : $namespace ?>{
|
||||
<?= $docComment ?>
|
||||
|
||||
<?php endif; ?>
|
||||
public static function <?= $method->getName() ?>(<?= $nParams < count($mParams) ? '/** @noinspection PhpDocSignatureInspection */' . implode(', /** @noinspection PhpDocSignatureInspection */', $mParams) : $method->getParamsWithDefault() ?>){
|
||||
public static function <?= $method->getName() ?>(<?= ($docComment && $nParams < count($mParams)) ? '/** @noinspection PhpDocSignatureInspection */' . implode(', /** @noinspection PhpDocSignatureInspection */', $mParams) : $method->getParamsWithDefault() ?>){
|
||||
<?php if ($method->getDeclaringClass() !== $method->getRoot()): ?>
|
||||
//Method inherited from <?= $method->getDeclaringClass() ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user