Skip to content

Commit

Permalink
Fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Willem Eshuis committed Jan 9, 2014
1 parent d45b472 commit 6058394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Flysystem/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,15 +465,15 @@ public function getMimetype($path)
*
* @param string $path path to file
* @throws FileNotFoundException
* @return string file mimetype
* @return string timestamp
*/
public function getTimestamp($path)
{
$path = Util::normalizePath($path);
$this->assertPresent($path);

if ($mimetype = $this->cache->getTimestamp($path)) {
return $mimetype;
if ($timestamp = $this->cache->getTimestamp($path)) {
return $timestamp;
}

if ( ! $object = $this->adapter->getTimestamp($path)) {
Expand Down

0 comments on commit 6058394

Please sign in to comment.