Update view "version" variable name to avoid potential conflicts

This commit is contained in:
pb30
2024-06-20 00:01:51 -05:00
parent 6338abb2d7
commit 70f9c41f93
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
- Fix return value of query scopes from parent class [#1366 / sforward](https://github.com/barryvdh/laravel-ide-helper/pull/1366)
### Changed
- Update view "version" variable name to avoid potential conflicts
### Added
- Add type to pivot when using a custom pivot class [#1518 / d3v2a](https://github.com/barryvdh/laravel-ide-helper/pull/1518)
+1 -1
View File
@@ -14,7 +14,7 @@
/**
* A helper file for Laravel, to provide autocomplete information to your IDE
* Generated for Laravel <?= $version ?>.
* Generated for Laravel <?= $laravel_version ?>.
*
* This file should not be included in your code, only analyzed by your IDE!
*
+1 -1
View File
@@ -82,7 +82,7 @@ class Generator
->with('namespaces_by_alias_ns', $this->getAliasesByAliasNamespace())
->with('real_time_facades', $this->getRealTimeFacades())
->with('helpers', $this->helpers)
->with('version', $app->version())
->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();