@@ -557,7 +557,7 @@ discard block |
||
557 | 557 | * |
558 | 558 | * @param string $url URL to try posting to |
559 | 559 | * @param integer $timeout Overall cURL timeout for this request |
560 | - * @return boolean |
|
560 | + * @return null|boolean |
|
561 | 561 | */ |
562 | 562 | public function doNTLMPost($url, $timeout = 6) |
563 | 563 | { |
@@ -616,7 +616,7 @@ discard block |
||
616 | 616 | * Parse the Autoresponse Payload, particularly to determine if an |
617 | 617 | * additional request is necessary. |
618 | 618 | * |
619 | - * @return mixed FALSE if response isn't XML or parsed response array |
|
619 | + * @return null|boolean FALSE if response isn't XML or parsed response array |
|
620 | 620 | */ |
621 | 621 | protected function parseAutodiscoverResponse() |
622 | 622 | { |
@@ -760,7 +760,7 @@ discard block |
||
760 | 760 | * Recursive method for parsing DOM nodes. |
761 | 761 | * |
762 | 762 | * @link https://github.com/gaarf/XML-string-to-PHP-array |
763 | - * @param object $node DOMNode object |
|
763 | + * @param \DOMElement $node DOMNode object |
|
764 | 764 | * @return mixed |
765 | 765 | */ |
766 | 766 | protected function nodeToArray($node) |
@@ -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. |