Commit 8405df9
Update dependency phpstan/phpstan to v2.1.50 (#1899)
* Update dependency phpstan/phpstan to v2.1.50
* Fix PHPStan error with ReflectionAttribute::newInstance() return type
PHPStan 2.1.50 no longer infers the generic type parameter of
ReflectionAttribute when getAttributes() is called on a union type
(ReflectionClassConstant|ReflectionClass), resulting in object instead
of the expected Description type.
🤖 Generated with Claude Code
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benedikt Franke <benedikt.franke@mll.com>1 parent e8f77f8 commit 8405df9
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
0 commit comments