Skip to content

Commit a2b1aa9

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Fixed problem normalizer example
2 parents f67999a + 8d75116 commit a2b1aa9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

controller/error_pages.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ to change the output contents, create a new Normalizer that supports the
206206
public function normalize($exception, $format = null, array $context = [])
207207
{
208208
return [
209-
'content': 'This is my custom problem normalizer.',
210-
'exception': [
211-
'message': $exception->getMessage(),
212-
'code': $exception->getStatusCode(),
209+
'content' => 'This is my custom problem normalizer.',
210+
'exception'=> [
211+
'message' => $exception->getMessage(),
212+
'code' => $exception->getStatusCode(),
213213
],
214214
];
215215
}

0 commit comments

Comments
 (0)