Commit 8fede17
committed
Fix PHPStan complaining about accessing protected
PHPStan 2.1.8 started to complain about `property.protected`:
Access to protected property Nette\Forms\Container::$currentGroup.
See phpstan/phpstan#13123
Fortunately, Nette provides a public method we can use instead.currentGroup property1 parent 853e7c8 commit 8fede17
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
0 commit comments