| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public static function hasWrongMimeType(string $tinyImageDestinationPath) |
||
| 16 | { |
||
| 17 | $foundMimeType = File::getMimeType($tinyImageDestinationPath); |
||
| 18 | |||
| 19 | return new static("Expected the file at {$tinyImageDestinationPath} have mimetype `image/jpeg`, but found a file with mimetype `{$foundMimeType}`"); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |