mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +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
|
private function isImage(string $path): bool
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
return !!exif_imagetype($path);
|
return (bool) exif_imagetype($path);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue