Fix phpcs

This commit is contained in:
Laurent Destailleur
2020-10-22 21:31:34 +02:00
parent b61e5dc9eb
commit 9699bdc0fa
2 changed files with 28 additions and 61 deletions

View File

@@ -868,7 +868,7 @@ function dol_clone($object, $native = 0)
{
$myclone = unserialize(serialize($object));
} else {
$myclone = clone $object; // PHP clone is a shallow copy only, not a real clone, so properties of references will keep references (refer to the same target/variable)
$myclone = clone $object; // PHP clone is a shallow copy only, not a real clone, so properties of references will keep the reference (refering to the same target/variable)
}
return $myclone;