Improved error handling in CloneProperties trait
Improved error handling in CloneProperties trait

throwing InvalidArgumentException when ::fromObject() argument is not an object
throwing InvalidArgumentException when ::fromArray() argument is not an array

Currently cases would cause a PHP warning

opendi/lang