Skip to content

Commit 9969891

Browse files
authored
Sort exceptions alphabetically (#1875)
1 parent 5e7e6c5 commit 9969891

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Definition/Operation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ public function getErrors(): array
130130
$errors[$error['shape']] = $shape;
131131
}
132132

133+
ksort($errors);
134+
133135
return array_values($errors);
134136
}
135137

0 commit comments

Comments
 (0)