From a7fc73e8e46d02306aea5dd94d0f83f112c228ca Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Sun, 29 Dec 2024 12:56:55 +0100 Subject: [PATCH] Format IDE helper (#1638) * Format IDE helper * composer fix-style * Format IDE helper * composer fix-style --------- Co-authored-by: laravel-ide-helper --- resources/views/helper.php | 64 ++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/resources/views/helper.php b/resources/views/helper.php index f713632..c3f583c 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 @@ namespace { $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() ?>; +} + + +} + }