@@ -19,8 +19,7 @@ |
||
19 | 19 | // If the value of the property is an object then clone it. |
20 | 20 | if (is_object($value)) { |
21 | 21 | $this->$property = clone $value; |
22 | - } |
|
23 | - elseif (is_array($value)) { |
|
22 | + } elseif (is_array($value)) { |
|
24 | 23 | // The value is an array that may use objects as values. Iterate |
25 | 24 | // over the array and clone any values that are objects into a |
26 | 25 | // new array. |