Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
typecast image object before sending to amazon s3 client
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Apr 5, 2016
1 parent 5763844 commit 33f3000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Outputs/Fly.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public function __construct(FlysystemManager $flysystemManager)
*/
public function save(Image $image, $path)
{
return $this->flysystem->put($path, $image->encode());
return $this->flysystem->put($path, (string) $image->encode());
}
}

0 comments on commit 33f3000

Please sign in to comment.