Skip to content

Commit

Permalink
Merge pull request #70 from staabm/patch-2
Browse files Browse the repository at this point in the history
Rely on ReadInterface contract for getSize().
  • Loading branch information
frankdejonge committed Feb 9, 2014
2 parents c65c52e + 2bfff83 commit b98439f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ public function getSize($path)
$path = Util::normalizePath($path);
$cached = $this->cache->getSize($path);

if (is_int($cached)) {
if ($cached !== false) {
return $cached;
}

Expand Down

0 comments on commit b98439f

Please sign in to comment.