forked from loafle/openapi-generator-original
PHP8.4 comptible, php-symfony resources (#20162)
* matrix php build * NullableTypeForNullDefaultValue * update sample
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user