@@ -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); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | |
53 | 53 | /** |
54 | 54 | * @param string $href |
55 | - * @param int|string $depth |
|
55 | + * @param integer $depth |
|
56 | 56 | * @param string|null $path |
57 | 57 | */ |
58 | 58 | public function __construct($href = '', $depth = 1, $path = null) { |
@@ -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; |