@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * |
| 34 | 34 | * @param string $href |
| 35 | 35 | * @param BasicSearchSchema|null $schema |
| 36 | - * @param null|int|string $httpStatus |
|
| 36 | + * @param integer $httpStatus |
|
| 37 | 37 | */ |
| 38 | 38 | function __construct($href, BasicSearchSchema $schema = null, $httpStatus = null) { |
| 39 | 39 | parent::__construct($href, [], $httpStatus); |
@@ -87,9 +87,9 @@ |
||
| 87 | 87 | * If a depth of 1 is requested child elements will also be returned. |
| 88 | 88 | * |
| 89 | 89 | * @param SearchResult[] $results |
| 90 | - * @param array $propertyNames |
|
| 90 | + * @param string[] $propertyNames |
|
| 91 | 91 | * @param int $depth |
| 92 | - * @return \Iterator |
|
| 92 | + * @return \Traversable |
|
| 93 | 93 | */ |
| 94 | 94 | private function getPropertiesIteratorResults($results, $propertyNames = [], $depth = 0) { |
| 95 | 95 | $propFindType = $propertyNames ? PropFind::NORMAL : PropFind::ALLPROPS; |