@@ -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); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | 128 | * @param \SearchDAV\XML\Operator $operator |
| 129 | - * @param array $allProps |
|
| 129 | + * @param SearchPropertyDefinition[] $allProps |
|
| 130 | 130 | * @return Operator |
| 131 | 131 | * @throws BadRequest |
| 132 | 132 | */ |
@@ -163,9 +163,9 @@ discard block |
||
| 163 | 163 | * If a depth of 1 is requested child elements will also be returned. |
| 164 | 164 | * |
| 165 | 165 | * @param SearchResult[] $results |
| 166 | - * @param array $propertyNames |
|
| 166 | + * @param string[] $propertyNames |
|
| 167 | 167 | * @param int $depth |
| 168 | - * @return \Iterator |
|
| 168 | + * @return \Traversable |
|
| 169 | 169 | */ |
| 170 | 170 | private function getPropertiesIteratorResults($results, $propertyNames = [], $depth = 0): \Iterator { |
| 171 | 171 | $propFindType = $propertyNames ? PropFind::NORMAL : PropFind::ALLPROPS; |