Commit e9a1e59
committed
bug #846 ReturnTypeWillChange to suppress PHP8.1 Deprecation notice. (PhilETaylor)
This PR was merged into the 1.x branch.
Discussion
----------
ReturnTypeWillChange to suppress PHP8.1 Deprecation notice.
Pretty quick and standard change for PHP 8.1
Surpress:
```
Deprecation Notice: Return type of Symfony\Flex\Response::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/phil/Sites/manage.mysites.guru/vendor/symfony/flex/src/Response.php:68
```
Alternative solution to #848
Commits
-------
ff0656a ReturnTypeWillChange to surpress PHP8.1 Deprecation notice.1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments