mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Apply fixes from StyleCI (#822)
This commit is contained in:
parent
e5cdea03db
commit
9a260a0ec6
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ class FileSynchronizer
|
|||
private function isImage(string $path): bool
|
||||
{
|
||||
try {
|
||||
return !!exif_imagetype($path);
|
||||
return (bool) exif_imagetype($path);
|
||||
} catch (Exception $e) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue