From 7c94a53763fadf15aa675faf5cc109c888f14a66 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Sun, 29 Dec 2024 12:07:26 +0100 Subject: [PATCH] Remove version --- resources/views/helper.php | 2 +- src/Generator.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/views/helper.php b/resources/views/helper.php index b67a3df..f713632 100644 --- a/resources/views/helper.php +++ b/resources/views/helper.php @@ -14,7 +14,7 @@ /** * A helper file for Laravel, to provide autocomplete information to your IDE - * Generated for Laravel . + * Generated for Laravel version() ?>. * * This file should not be included in your code, only analyzed by your IDE! * diff --git a/src/Generator.php b/src/Generator.php index d290ebd..f12f4e5 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -84,7 +84,6 @@ class Generator ->with('namespaces_by_alias_ns', $this->getAliasesByAliasNamespace()) ->with('real_time_facades', $this->getRealTimeFacades()) ->with('helpers', $this->helpers) - ->with('laravel_version', $app->version()) ->with('include_fluent', $this->config->get('ide-helper.include_fluent', true)) ->with('factories', $this->config->get('ide-helper.include_factory_builders') ? Factories::all() : []) ->render(); @@ -111,7 +110,6 @@ class Generator ->with('namespaces_by_alias_ns', ['__root' => [$alias]]) ->with('real_time_facades', []) ->with('helpers', '') - ->with('version', $app->version()) ->with('include_fluent', false) ->with('factories', []) ->render();