mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
fixed CS
This commit is contained in:
@@ -87,10 +87,10 @@ class Twig_Cache_Filesystem implements Twig_CacheInterface
|
||||
*/
|
||||
public function getTimestamp($key)
|
||||
{
|
||||
if (\file_exists($key)) {
|
||||
return (int) @filemtime($key);
|
||||
if (!file_exists($key)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return (int) @filemtime($key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user