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 e6ea522 commit 4479f6eCopy full SHA for 4479f6e
src/JsonSchema/Uri/Retrievers/FileGetContents.php
@@ -68,7 +68,7 @@ public function retrieve($uri)
68
*/
69
private function fetchContentType(array $headers)
70
{
71
- foreach ($headers as $header) {
+ foreach (array_reverse($headers) as $header) {
72
if ($this->contentType = self::getContentTypeMatchInHeader($header)) {
73
return true;
74
}
0 commit comments