1
0
Fork 0

Use finally

pull/260/head
Felix Becker 2017-01-26 01:55:15 +01:00
parent 48fd7a6462
commit a4c93f1b74
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ class FileSystemCache implements Cache
mkdir($this->cacheDir);
}
file_put_contents($file, serialize($value));
return Promise\resolve(null);
} catch (\Exception $e) {
} finally {
return Promise\resolve(null);
}
}