1
0
mirror of synced 2025-01-30 12:01:44 +03:00

Coding style fixes.

This commit is contained in:
Guilherme Blanco 2012-03-15 01:15:47 -04:00
parent c3291f8f24
commit a16ca32981

View File

@ -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();
} }
} }