Conditions | 3 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | private function inherit(IlluminateArrayable|InspirumArrayable|PhpExtendedArrayable $arrayable): void |
||
31 | { |
||
32 | if (($arrayable instanceOf IlluminateArrayable) || |
||
33 | ($arrayable instanceOf PhpExtendedArrayable)) { |
||
34 | $this->array = $arrayable->toArray(); |
||
35 | return; |
||
36 | } |
||
37 | $this->array = $arrayable->__toArray(); |
||
38 | } |
||
40 |