@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * |
262 | 262 | * @param string $attribute Attribute name, optionally with prefix |
263 | 263 | * @param string|null $uri XML Namespace URI of attribute, prefix will be automatically looked up |
264 | - * @return bool|mixed |
|
264 | + * @return string |
|
265 | 265 | */ |
266 | 266 | public function getAttribute(string $attribute, string $uri = null) |
267 | 267 | { |
@@ -483,7 +483,7 @@ discard block |
||
483 | 483 | * |
484 | 484 | * @param callable|string $predicate Predicate or class name |
485 | 485 | * |
486 | - * @return XmlElement|false |
|
486 | + * @return XmlElement|null |
|
487 | 487 | */ |
488 | 488 | public function get($predicate) |
489 | 489 | { |