@@ -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; |