diff --git a/resources/views/helper.php b/resources/views/helper.php index f713632ee..c3f583ca5 100644 --- a/resources/views/helper.php +++ b/resources/views/helper.php @@ -21,24 +21,27 @@ * @author Barry vd. Heuvel * @see https://github.com/barryvdh/laravel-ide-helper */ - + $aliases) : ?> namespace { - getDocComment(' ')) ?> - getClassType() ?> getExtendsClass() ?> { +getDocComment($s1)) . "\n{$s1}" . $alias->getClassType() ?> getExtendsClass() ?> { getMethods() as $method) : ?> - getDocComment(' ')) ?> - public static function getName() ?>(getParamsWithDefault() ?>) +getDocComment($s2)) . "\n{$s2}" ?>public static function getName() ?>(getParamsWithDefault() ?>) {getDeclaringClass() !== $method->getRoot()) : ?> - //Method inherited from getDeclaringClass() ?> - +//Method inherited from getDeclaringClass() ?> + - isInstanceCall()) : ?> - /** @var getRoot()?> $instance */ - - shouldReturn() ? 'return ' : '' ?>getRootMethodCall() ?>; +isInstanceCall()) : ?> +/** @var getRoot()?> $instance */ + +shouldReturn() ? 'return ' : '') ?>getRootMethodCall() ?>; } + } @@ -48,26 +51,27 @@ public static function getName() ?>(getParamsWithDefau $aliases) : ?> namespace { - - getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> - getPhpDocTemplates(' ') ?> - - getClassType() ?> getShortName() ?> extends getExtends() ?> {getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> - getMethods() as $method) : ?> - getDocComment(' ')) ?> - public static function getName() ?>(getParamsWithDefault() ?>) - {getDeclaringClass() !== $method->getRoot()) : ?> - //Method inherited from getDeclaringClass() ?> - + +getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> +getPhpDocTemplates($s1) . "\n" ?> + +getClassType() ?> getShortName() ?> extends getExtends() ?> {getExtendsNamespace() === '\Illuminate\Database\Eloquent') : ?> +getMethods() as $method) : ?> +getDocComment($s2)) . "\n" ?> +public static function getName() ?>(getParamsWithDefault() ?>) +{getDeclaringClass() !== $method->getRoot()) : ?> +//Method inherited from getDeclaringClass() ?> + - isInstanceCall()) : ?> - /** @var getRoot()?> $instance */ - - shouldReturn() ? 'return ' : '' ?>getRootMethodCall() ?>; - } - - } - +isInstanceCall()) : ?> +/** @var getRoot()?> $instance */ + +shouldReturn() ? 'return ' : '') ?>getRootMethodCall() ?>; +} + + +} + }