Commit dc7fc3d
Fix: PHPStan errors in Datagrid and FilterSelect/FilterMultiSelect
Use Nette\Application\UI\Presenter for lookupPath (IPresenter is not an IComponent) and remove redundant Form instanceof checks where lookup() already guarantees the type.1 parent e5faff0 commit dc7fc3d
3 files changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
2815 | 2814 | | |
2816 | 2815 | | |
2817 | 2816 | | |
2818 | | - | |
| 2817 | + | |
2819 | 2818 | | |
2820 | 2819 | | |
2821 | 2820 | | |
2822 | | - | |
| 2821 | + | |
2823 | 2822 | | |
2824 | 2823 | | |
2825 | 2824 | | |
2826 | | - | |
| 2825 | + | |
2827 | 2826 | | |
2828 | 2827 | | |
2829 | 2828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
| |||
0 commit comments