filebackend: add idiom constant to FileBackend for null results
[lhc/web/wiklou.git] / includes / libs / filebackend / MemoryFileBackend.php
index f0cbf3b..88b281e 100644 (file)
@@ -148,7 +148,7 @@ class MemoryFileBackend extends FileBackendStore {
        protected function doGetFileStat( array $params ) {
                $src = $this->resolveHashKey( $params['src'] );
                if ( $src === null ) {
-                       return null;
+                       return false; // invalid path
                }
 
                if ( isset( $this->files[$src] ) ) {