We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d460aa0 commit 9de807fCopy full SHA for 9de807f
1 file changed
src/Kore/DataObject/DataObject.php
@@ -58,7 +58,7 @@ public function __unset($name)
58
*/
59
public function __clone()
60
{
61
- foreach ($this as $property => $value) {
+ foreach (get_object_vars($this) as $property => $value) {
62
if (is_object($value)) {
63
$this->$property = clone $value;
64
}
0 commit comments