File getMimeType throws exception if no mime type can be set, fixes for phpstan checks
This commit is contained in:
1 parent
116f0a770c
commit
1823fd369b
14 files changed
+79
-32
No files matched your search
@@ -63,7 +63,7 @@ enum Flag: int
|
||||
/**
|
||||
* Get internal name from int value
|
||||
*
|
||||
* @param int $value
|
||||
* @param value-of<self::VALUES> $value
|
||||
* @return self
|
||||
*/
|
||||
public static function fromValue(int $value): self
|
||||
|
||||
Reference in new issue
Block a user