summaryrefslogtreecommitdiffstats
path: root/lib/private/TempManager.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-23 21:03:26 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 11:39:29 +0200
commit5f227bd93b23d8a528476e3d9243dae31c9d0050 (patch)
treefaf627e7fbd8c510e897028ac88048d6ae590145 /lib/private/TempManager.php
parent5eee110b15169240134fc54672fe38da63bc7fb1 (diff)
downloadnextcloud-server-5f227bd93b23d8a528476e3d9243dae31c9d0050.tar.gz
nextcloud-server-5f227bd93b23d8a528476e3d9243dae31c9d0050.zip
More phpstorm inspection fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/TempManager.php')
-rw-r--r--lib/private/TempManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TempManager.php b/lib/private/TempManager.php
index 4dfcbe7f523..dc6dad15d3c 100644
--- a/lib/private/TempManager.php
+++ b/lib/private/TempManager.php
@@ -256,7 +256,7 @@ class TempManager implements ITempManager {
// suppress any possible errors caused by is_writable
// checks missing or invalid path or characters, wrong permissions etc
try {
- if (is_writeable($directory)) {
+ if (is_writable($directory)) {
return true;
}
} catch (\Exception $e) {