@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace spec\PhpEws\Console; |
| 4 | 4 | |
| 5 | 5 | use PhpSpec\ObjectBehavior; |
| 6 | -use Prophecy\Argument; |
|
| 7 | 6 | |
| 8 | 7 | class ApplicationSpec extends ObjectBehavior |
| 9 | 8 | { |
@@ -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) |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | * |
| 97 | 97 | * @param boolean $validate |
| 98 | 98 | * |
| 99 | - * @return true |
|
| 99 | + * @return boolean |
|
| 100 | 100 | */ |
| 101 | 101 | public function validateCertificate($validate = true) |
| 102 | 102 | { |