@@ -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. |
@@ -609,7 +609,7 @@ discard block |
||
609 | 609 | * Parse the Autoresponse Payload, particularly to determine if an |
610 | 610 | * additional request is necessary. |
611 | 611 | * |
612 | - * @return mixed FALSE if response isn't XML or parsed response array |
|
612 | + * @return boolean FALSE if response isn't XML or parsed response array |
|
613 | 613 | */ |
614 | 614 | protected function parseAutodiscoverResponse() |
615 | 615 | { |
@@ -751,7 +751,7 @@ discard block |
||
751 | 751 | * Recursive method for parsing DOM nodes. |
752 | 752 | * |
753 | 753 | * @link https://github.com/gaarf/XML-string-to-PHP-array |
754 | - * @param object $node DOMNode object |
|
754 | + * @param \DOMElement $node DOMNode object |
|
755 | 755 | * @return mixed |
756 | 756 | */ |
757 | 757 | protected function nodeToArray($node) |