PHP8.4 comptible, php-symfony resources (#20162)

* matrix php build

* NullableTypeForNullDefaultValue

* update sample
This commit is contained in:
dmnlk
2024-11-24 17:00:35 +09:00
committed by GitHub
parent 093a51ee21
commit c831983866
10 changed files with 14 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ class Controller extends AbstractController
*
* @return array|null
*/
private function exceptionToArray(\Throwable $exception = null): ?array
private function exceptionToArray(?\Throwable $exception = null): ?array
{
if (null === $exception) {
return null;