Completed
Push — master ( 77619b...bbbb6c )
by James
03:32
created
src/jamesiarmes/PhpEws/Autodiscover.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/jamesiarmes/PhpEws/Type.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.