Skip to content

Commit

Permalink
Release 1.2.2 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbyndych authored Feb 16, 2024
2 parents e14f37c + 433c9d4 commit 1396764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"require-dev": {
"phpunit/phpunit": "~4.4@dev",
"sebastian/global-state": "~1.0@dev",
"mikey179/vfsStream": "1.4.0"
"mikey179/vfsstream": "1.4.0"
},
"minimum-stability" : "dev",
"autoload" : {
Expand Down
6 changes: 2 additions & 4 deletions src/LocalCacheAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,8 @@ public function write($path, $contents, Config $config)
* @return array|false false on failure file meta data on success
*/
public function writeStream($path, $resource, Config $config)
{
$result = $this->remoteStorage->writeStream($path, $resource, $config);
$this->localStorage->writeStream($path, $this->initStream($resource), $config);
return $result;
{
return $this->write($path, stream_get_contents($resource), $config);
}

/**
Expand Down

0 comments on commit 1396764

Please sign in to comment.