Coding style fixes.
This commit is contained in:
parent
c3291f8f24
commit
a16ca32981
@ -775,12 +775,15 @@ final class PersistentCollection implements Collection
|
|||||||
public function __clone()
|
public function __clone()
|
||||||
{
|
{
|
||||||
$this->initialize();
|
$this->initialize();
|
||||||
|
|
||||||
$this->owner = null;
|
$this->owner = null;
|
||||||
|
|
||||||
if (is_object($this->coll)) {
|
if (is_object($this->coll)) {
|
||||||
$this->coll = clone $this->coll;
|
$this->coll = clone $this->coll;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->snapshot = array();
|
$this->snapshot = array();
|
||||||
|
|
||||||
$this->changed();
|
$this->changed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user