fix statCache phpdoc

This commit is contained in:
Robin Appelman 2016-08-26 23:11:07 +02:00
commit 1870e2ee81

View file

@ -66,7 +66,7 @@ class NativeFileInfo implements IFileInfo {
* @return array * @return array
*/ */
protected function stat() { protected function stat() {
if (!$this->statCache) { if (is_null($this->statCache)) {
$this->statCache = $this->share->getStat($this->getPath()); $this->statCache = $this->share->getStat($this->getPath());
} }
return $this->statCache; return $this->statCache;