mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-22 20:13:08 +00:00
Update helper.php
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
* @author Barry vd. Heuvel <[email protected]>
|
||||
* @see https://github.com/barryvdh/laravel-ide-helper
|
||||
*/
|
||||
namespace {
|
||||
exit("This file should not be included, only analyzed by your IDE");
|
||||
}
|
||||
|
||||
<?php foreach($namespaces as $namespace => $aliases): ?>
|
||||
namespace <?= $namespace == '__root' ? '' : trim($namespace, '\\') ?> {
|
||||
@@ -17,7 +20,8 @@ namespace <?= $namespace == '__root' ? '' : trim($namespace, '\\') ?>{
|
||||
|
||||
<?= trim($method->getDocComment(' ')) ?>
|
||||
|
||||
public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>){<?php if($method->getDeclaringClass() !== $method->getRoot()): ?>
|
||||
public static function <?= $method->getName() ?>(<?= $method->getParamsWithDefault() ?>)
|
||||
{<?php if($method->getDeclaringClass() !== $method->getRoot()): ?>
|
||||
|
||||
//Method inherited from <?= $method->getDeclaringClass() ?>
|
||||
<?php endif; ?>
|
||||
@@ -33,7 +37,6 @@ namespace <?= $namespace == '__root' ? '' : trim($namespace, '\\') ?>{
|
||||
<?php endforeach; ?>
|
||||
|
||||
namespace {
|
||||
exit("This file should not be included, only analyzed by your IDE");
|
||||
<?= $helpers ?>
|
||||
|
||||
<?php foreach($namespaces as $namespace => $aliases): ?>
|
||||
|
||||
Reference in New Issue
Block a user