mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
update php symfony petstore, remove spaces in empty line
This commit is contained in:
@@ -146,6 +146,12 @@ class Controller
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!$this->container->get('kernel')->isDebug()) {
|
||||
return [
|
||||
'message' => $exception->getMessage(),
|
||||
];
|
||||
}
|
||||
|
||||
return [
|
||||
'message' => $exception->getMessage(),
|
||||
'type' => get_class($exception),
|
||||
|
||||
Reference in New Issue
Block a user