Permalink
Browse files

Merge pull request #70 from Richtermeister/master

RS Adapter bugfixes
  • Loading branch information...
2 parents 864995e + cff366a commit c0ef18eaaa25cfd0bda05769344d7e33d7769f5a @Herzult Herzult committed Jun 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Gaufrette/Adapter/RackspaceCloudfiles.php
@@ -66,15 +66,15 @@ public function write($key, $content, array $metadata = null)
throw new \RuntimeException(sprintf('Could not write the \'%s\' file.', $key));
}
- return Util\Size::fromString($content);
+ return Util\Size::fromContent($content);
}
/**
* {@inheritDoc}
*/
public function exists($key)
{
- return false === $this->tryGetObject($key);
+ return false !== $this->tryGetObject($key);
}
/**

0 comments on commit c0ef18e

Please sign in to comment.