Closed GromNaN closed 6 months ago
If $this->source is a class, it cannot be array. This is the same condition for $this->target just below.
$this->source
array
$this->target
Introduced by https://github.com/jolicode/automapper/commit/d8c708d3a199a9f5e02c2a5075a539219a9fc978#diff-4c1e0a70928058f8c9f0eb96b64ef30126ebaef5dfc1567f78dea8804c4b0f2cR28
If
$this->source
is a class, it cannot bearray
. This is the same condition for$this->target
just below.Introduced by https://github.com/jolicode/automapper/commit/d8c708d3a199a9f5e02c2a5075a539219a9fc978#diff-4c1e0a70928058f8c9f0eb96b64ef30126ebaef5dfc1567f78dea8804c4b0f2cR28