mirror of
https://github.com/friendica/friendica
synced 2025-05-18 07:44:11 +02:00
Fix errors in Util namespace
This commit is contained in:
parent
780bfe0cbe
commit
7abdc17711
7 changed files with 13 additions and 15 deletions
|
@ -122,9 +122,9 @@ class XML
|
|||
/**
|
||||
* Copies an XML object
|
||||
*
|
||||
* @param object|string $source The XML source
|
||||
* @param object $target The XML target
|
||||
* @param string $elementname Name of the XML element of the target
|
||||
* @param object $source The XML source
|
||||
* @param object $target The XML target
|
||||
* @param string $elementname Name of the XML element of the target
|
||||
* @return void
|
||||
*/
|
||||
public static function copy(&$source, &$target, $elementname)
|
||||
|
@ -476,7 +476,7 @@ class XML
|
|||
* @param DOMXPath $xpath XPath object
|
||||
* @param string $element Element name
|
||||
* @param DOMNode $context Context object or NULL
|
||||
* @return ???|bool First element's attributes field or false on failure
|
||||
* @return mixed|bool First element's attributes field or false on failure
|
||||
*/
|
||||
public static function getFirstAttributes(DOMXPath $xpath, string $element, DOMNode $context = null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue