mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-20 02:53:11 +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 ?>
|
<?= $docComment ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?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()): ?>
|
<?php if ($method->getDeclaringClass() !== $method->getRoot()): ?>
|
||||||
//Method inherited from <?= $method->getDeclaringClass() ?>
|
//Method inherited from <?= $method->getDeclaringClass() ?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user