Apply fixes from StyleCI (#822)

This commit is contained in:
Phan An 2018-10-06 12:42:48 +02:00 committed by GitHub
parent e5cdea03db
commit 9a260a0ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }