We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecff095 commit 7f0c099Copy full SHA for 7f0c099
src/Exception/JsonApiErrorsException.php
@@ -10,7 +10,7 @@ public function __construct(public array $errors)
10
{
11
parent::__construct('Multiple errors occurred');
12
13
- foreach ($this->errors as $error) {
+ foreach ($this->errors as &$error) {
14
if (!$error instanceof ErrorProvider) {
15
$error = new InternalServerErrorException();
16
}
0 commit comments