mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
655e057626 | ||
|
|
c8d85a0d34 | ||
|
|
4c656cc71d | ||
|
|
0fe9774dfb |
@@ -1,5 +1,36 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v3.5.1 - 2025-01-06
|
||||||
|
|
||||||
|
### What's Changed
|
||||||
|
|
||||||
|
* Remove duplicate config, fix ->can() by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1650
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/barryvdh/laravel-ide-helper/compare/v3.5.0...v3.5.1
|
||||||
|
|
||||||
|
## v3.5.0 - 2025-01-06
|
||||||
|
|
||||||
|
### What's Changed
|
||||||
|
|
||||||
|
* Add phpstorm meta argument hints by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1640
|
||||||
|
* Add meta override for user return types by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1642
|
||||||
|
* Use forked ContextFactory by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1643
|
||||||
|
* Remove php parser by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1644
|
||||||
|
* Also add eloquent template tags from base class by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1645
|
||||||
|
* Add more metadata by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1646
|
||||||
|
* Fixed generating PHPDoc for methods with class templates by @chack1172 in https://github.com/barryvdh/laravel-ide-helper/pull/1647
|
||||||
|
* Feat guess macro types by @barryvdh in https://github.com/barryvdh/laravel-ide-helper/pull/1648
|
||||||
|
* Allow adding custom Macroable classes. by @mathieutu in https://github.com/barryvdh/laravel-ide-helper/pull/1629
|
||||||
|
* Add special `dev` to composer keywords by @jnoordsij in https://github.com/barryvdh/laravel-ide-helper/pull/1649
|
||||||
|
|
||||||
|
### New Contributors
|
||||||
|
|
||||||
|
* @chack1172 made their first contribution in https://github.com/barryvdh/laravel-ide-helper/pull/1647
|
||||||
|
* @mathieutu made their first contribution in https://github.com/barryvdh/laravel-ide-helper/pull/1629
|
||||||
|
* @jnoordsij made their first contribution in https://github.com/barryvdh/laravel-ide-helper/pull/1649
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/barryvdh/laravel-ide-helper/compare/v3.4.0...v3.5.0
|
||||||
|
|
||||||
## v3.4.0 - 2024-12-29
|
## v3.4.0 - 2024-12-29
|
||||||
|
|
||||||
### What's Changed
|
### What's Changed
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ return collect(Illuminate\Support\Facades\Gate::abilities())
|
|||||||
|
|
||||||
$policyClass = null;
|
$policyClass = null;
|
||||||
|
|
||||||
if (get_class($reflection->getClosureThis()) === Illuminate\Auth\Access\Gate::class) {
|
$closureThis = $reflection->getClosureThis();
|
||||||
|
if ($closureThis && get_class($closureThis) === Illuminate\Auth\Access\Gate::class) {
|
||||||
$vars = $reflection->getClosureUsedVariables();
|
$vars = $reflection->getClosureUsedVariables();
|
||||||
|
|
||||||
if (isset($vars['callback'])) {
|
if (isset($vars['callback'])) {
|
||||||
|
|||||||
@@ -232,18 +232,14 @@ class MetaCommand extends Command
|
|||||||
'argumentSet' => 'auth',
|
'argumentSet' => 'auth',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'class' => ['\Illuminate\Support\Facades\Route', '\Illuminate\Support\Facades\Auth'],
|
'class' => ['\Illuminate\Support\Facades\Route', '\Illuminate\Support\Facades\Auth', 'Illuminate\Foundation\Auth\Access\Authorizable'],
|
||||||
'method' => ['can', 'cannot'],
|
'method' => ['can', 'cannot'],
|
||||||
'argumentSet' => 'auth',
|
'argumentSet' => 'auth',
|
||||||
],
|
],
|
||||||
[
|
|
||||||
'method' => 'config',
|
|
||||||
'argumentSet' => 'configs',
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
'class' => ['\Illuminate\Config\Repository', '\Illuminate\Support\Facades\Config'],
|
'class' => ['\Illuminate\Config\Repository', '\Illuminate\Support\Facades\Config'],
|
||||||
'method' => [
|
'method' => [
|
||||||
'get',
|
// 'get', // config() and Config::Get() are added with return type hints already
|
||||||
'getMany',
|
'getMany',
|
||||||
'set',
|
'set',
|
||||||
'string',
|
'string',
|
||||||
|
|||||||
Reference in New Issue
Block a user