1
0
Fork 0

Clear id when cloning

pull/1186/merge
Jordi Boggiano 2012-10-22 14:39:49 +02:00
parent e1e7141ae9
commit 85671021c3
1 changed files with 1 additions and 0 deletions

View File

@ -178,5 +178,6 @@ abstract class BasePackage implements PackageInterface
public function __clone()
{
$this->repository = null;
$this->id = -1;
}
}