diff --git a/src/Outputs/Fly.php b/src/Outputs/Fly.php index 85e2db6..6125f42 100644 --- a/src/Outputs/Fly.php +++ b/src/Outputs/Fly.php @@ -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()); } } \ No newline at end of file