Completed
Push — master ( bbbb6c...5d9efc )
by James
03:31
created
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.
src/jamesiarmes/PhpEws/Autodiscover.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.