also looking at this
fix: Fix write functionality
#16
1 file
+4
-4
| @@ -29,7 +29,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 29 | 29 | */ |
| 30 | 30 | public function write($path, $contents, Config $config) |
| 31 | 31 | { |
| 32 | return $this->client->storage()->upload($path); | |
| 32 | return $this->client->storage()->upload($path, $contents, $config); | |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| @@ -43,7 +43,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 43 | 43 | */ |
| 44 | 44 | public function writeStream($path, $resource, Config $config) |
| 45 | 45 | { |
| 46 | return $this->client->storage()->upload($path); | |
| 46 | return $this->client->storage()->upload($path, $resource, $config); | |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| @@ -57,7 +57,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 57 | 57 | */ |
| 58 | 58 | public function update($path, $contents, Config $config) |
| 59 | 59 | { |
| 60 | return $this->client->storage()->upload($path); | |
| 60 | return $this->client->storage()->upload($path, $contents, $config); | |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| @@ -71,7 +71,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 71 | 71 | */ |
| 72 | 72 | public function updateStream($path, $resource, Config $config) |
| 73 | 73 | { |
| 74 | return $this->client->storage()->upload($path); | |
| 74 | return $this->client->storage()->upload($path, $resource, $config); | |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |