|
@@ -316,7 +316,7 @@ discard block |
|
|
block discarded – undo |
|
316
|
316
|
* Adds namespace to element, and associates it with prefix. |
|
317
|
317
|
* |
|
318
|
318
|
* @param string $uri Namespace URI |
|
319
|
|
- * @param string|bool|null $prefix Prefix which will be used for namespace, false for using element's prefix |
|
|
319
|
+ * @param string $prefix Prefix which will be used for namespace, false for using element's prefix |
|
320
|
320
|
* and null for no prefix |
|
321
|
321
|
*/ |
|
322
|
322
|
public function setNamespace(string $uri, $prefix = false) |
|
@@ -371,7 +371,7 @@ discard block |
|
|
block discarded – undo |
|
371
|
371
|
* Retrieves array of matching elements |
|
372
|
372
|
* |
|
373
|
373
|
* @param string $name Requested element tag name |
|
374
|
|
- * @param null $uri Requested element namespace |
|
|
374
|
+ * @param null|string $uri Requested element namespace |
|
375
|
375
|
* |
|
376
|
376
|
* @return XmlElement[] Found Elements |
|
377
|
377
|
*/ |
Please login to merge, or discard this patch.