mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 18:48:22 +01:00
Fix phpcs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user