Skip to content

Commit eb58818

Browse files
committed
Minor tweaks
1 parent 566326d commit eb58818

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

UPGRADE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ of the EasyAdmin application.
1414
// After
1515
{{ ea().i18n.translationDomain }}
1616

17-
1817
EasyAdmin 4.24.8
1918
----------------
2019

21-
PHPStan will report an error if a class extends `AbstractCrudController` without declaring the type of the entity:
20+
Starting with this version, PHPStan will report an error if a class extends
21+
`AbstractCrudController` without specifying the entity type:
2222

23-
> Class App\Controller\Admin\UserCrudController extends generic class EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController but does not specify its types: TEntity
23+
> Class App\Controller\Admin\UserCrudController extends generic class
24+
> EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController
25+
> but does not specify its types: TEntity
2426
25-
To avoid this issue, update the controller like this:
27+
To fix this, update your controller like this:
2628

2729
```diff
2830
+ /**

0 commit comments

Comments
 (0)