fix code format

This commit is contained in:
Libor M 2020-10-17 17:34:51 +02:00
parent 2845284284
commit 236c7c4499
1 changed files with 3 additions and 2 deletions

View File

@ -467,10 +467,11 @@ class Image extends AbstractElement
* @param string $filename
* @return bool
*/
private function isFile($filename) {
private function isFile($filename)
{
try {
return @file_exists($filename);
} catch(\Exception $ex) {
} catch (\Exception $ex) {
return false;
}
}