Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Storage/Adapter/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,6 @@ protected function internalSetItem(& $normalizedKey, & $value)
*/
protected function internalSetItems(array & $normalizedKeyValuePairs)
{
$oldUmask = null;

// create an associated array of files and contents to write
$contents = array();
foreach ($normalizedKeyValuePairs as $key => & $value) {
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct($options = null)

// reset initialized flag on update option(s)
$initialized = & $this->initialized;
$this->getEventManager()->attach('option', function ($event) use (& $initialized) {
$this->getEventManager()->attach('option', function () use (& $initialized) {
$initialized = false;
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/Memcached.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct($options = null)

// reset initialized flag on update option(s)
$initialized = & $this->initialized;
$this->getEventManager()->attach('option', function ($event) use (& $initialized) {
$this->getEventManager()->attach('option', function () use (& $initialized) {
$initialized = false;
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Adapter/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct($options = null)

// reset initialized flag on update option(s)
$initialized = & $this->initialized;
$this->getEventManager()->attach('option', function ($event) use (& $initialized) {
$this->getEventManager()->attach('option', function () use (& $initialized) {
$initialized = false;
});
}
Expand Down

0 comments on commit 1ec6c6d

Please sign in to comment.