You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,24 @@ of the EasyAdmin application.
14
14
// After
15
15
{{ ea().i18n.translationDomain }}
16
16
17
+
18
+
EasyAdmin 4.24.8
19
+
----------------
20
+
21
+
PHPStan will report an error if a class extends `AbstractCrudController` without declaring the type of the entity:
22
+
23
+
> Class App\Controller\Admin\UserCrudController extends generic class EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController but does not specify its types: TEntity
24
+
25
+
To avoid this issue, update the controller like this:
26
+
27
+
```diff
28
+
+ /**
29
+
+ * @extends AbstractCrudController<User>
30
+
+ */
31
+
class UserCrudController extends AbstractCrudController
0 commit comments