Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
- Fix type of hashed model property to `string`

### Changed
- Update view "version" variable name to avoid potential conflicts

- Add support for EloquentBuilder generics introduced in Laravel 11.15.
- Drop support for Laravel versions earlier than 11.15.
Expand Down
2 changes: 1 addition & 1 deletion resources/views/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/**
* 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!
*
Expand Down
2 changes: 0 additions & 2 deletions src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public function generate()
->with('namespaces_by_alias_ns', $this->getAliasesByAliasNamespace())
->with('real_time_facades', $this->getRealTimeFacades())
->with('helpers', $this->helpers)
->with('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();
Expand All @@ -111,7 +110,6 @@ public function generateEloquent()
->with('namespaces_by_alias_ns', ['__root' => [$alias]])
->with('real_time_facades', [])
->with('helpers', '')
->with('version', $app->version())
->with('include_fluent', false)
->with('factories', [])
->render();
Expand Down
Loading