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