We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e6f3f7 commit 13e9daeCopy full SHA for 13e9dae
src/phpFastCache/Config/ConfigurationOption.php
@@ -86,7 +86,7 @@ class ConfigurationOption extends ArrayObject
86
public function __construct(...$args)
87
{
88
parent::__construct(...$args);
89
- $array = $this->getArray();
+ $array =& $this->getArray();
90
91
/**
92
* Detect unwanted keys and throw an exception.
@@ -101,6 +101,7 @@ public function __construct(...$args)
101
}
102
103
foreach (get_object_vars($this) as $property => $value) {
104
+
105
if(array_key_exists($property, $array)){
106
$this->$property = &$array[ $property ];
107
}else{
0 commit comments