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