[HttpFoundation] Removed remove recurring test
This commit is contained in:
parent
57d0d3fe2f
commit
ff44b0ff28
@ -46,7 +46,7 @@ class ContentTypeMimeTypeGuesser implements MimeTypeGuesserInterface
|
|||||||
throw new AccessDeniedException($path);
|
throw new AccessDeniedException($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!self::isSupported() || !is_readable($path)) {
|
if (!self::isSupported()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user