fix code format
This commit is contained in:
parent
2845284284
commit
236c7c4499
|
|
@ -467,10 +467,11 @@ class Image extends AbstractElement
|
||||||
* @param string $filename
|
* @param string $filename
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
private function isFile($filename) {
|
private function isFile($filename)
|
||||||
|
{
|
||||||
try {
|
try {
|
||||||
return @file_exists($filename);
|
return @file_exists($filename);
|
||||||
} catch(\Exception $ex) {
|
} catch (\Exception $ex) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue