Compare commits

...
3 changed files with 2 additions and 3 deletions
+1
View File
@@ -54,6 +54,7 @@
- Fix type of hashed model property to `string` - Fix type of hashed model property to `string`
### Changed ### Changed
- Update view "version" variable name to avoid potential conflicts
- Add support for EloquentBuilder generics introduced in Laravel 11.15. - Add support for EloquentBuilder generics introduced in Laravel 11.15.
- Drop support for Laravel versions earlier than 11.15. - Drop support for Laravel versions earlier than 11.15.
+1 -1
View File
@@ -14,7 +14,7 @@
/** /**
* A helper file for Laravel, to provide autocomplete information to your IDE * A helper file for Laravel, to provide autocomplete information to your IDE
* Generated for Laravel <?= $version ?>. * Generated for Laravel <?= app()->version() ?>.
* *
* This file should not be included in your code, only analyzed by your IDE! * This file should not be included in your code, only analyzed by your IDE!
* *
-2
View File
@@ -84,7 +84,6 @@ class Generator
->with('namespaces_by_alias_ns', $this->getAliasesByAliasNamespace()) ->with('namespaces_by_alias_ns', $this->getAliasesByAliasNamespace())
->with('real_time_facades', $this->getRealTimeFacades()) ->with('real_time_facades', $this->getRealTimeFacades())
->with('helpers', $this->helpers) ->with('helpers', $this->helpers)
->with('version', $app->version())
->with('include_fluent', $this->config->get('ide-helper.include_fluent', true)) ->with('include_fluent', $this->config->get('ide-helper.include_fluent', true))
->with('factories', $this->config->get('ide-helper.include_factory_builders') ? Factories::all() : []) ->with('factories', $this->config->get('ide-helper.include_factory_builders') ? Factories::all() : [])
->render(); ->render();
@@ -111,7 +110,6 @@ class Generator
->with('namespaces_by_alias_ns', ['__root' => [$alias]]) ->with('namespaces_by_alias_ns', ['__root' => [$alias]])
->with('real_time_facades', []) ->with('real_time_facades', [])
->with('helpers', '') ->with('helpers', '')
->with('version', $app->version())
->with('include_fluent', false) ->with('include_fluent', false)
->with('factories', []) ->with('factories', [])
->render(); ->render();