Closed iquad closed 2 years ago
It doesn't by itself. Problem is still there if you only change that file. You also need to change line 43 in the MoFileLoader.php with the same code.
protected function loadResource(string $resource): array
@martinfiset you are right, sorry for hurry, my valet was on 500 state, and all I was getting was that error.
Should be fixed now.
fixes #54
Since Symfony translation FileLoader now using type-hints, it should fix fatal error on php 8.1