Commit c006a45b authored by Nigel McNie's avatar Nigel McNie
Browse files

Correct phpdoc for get_attributes() helper method.


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent f25980be
......@@ -597,8 +597,9 @@ class PluginImportLeap extends PluginImport {
* It's often much easier to work with them in this form. SimpleXML doesn't
* provide a nice property to get at them with.
*
* @param string $ns The namespace to get the attributes for
* @return array The attributes in the namespace
* @param SimpleXMLElement $element The element to get attributes from
* @param string $ns The namespace to get the attributes for
* @return array The attributes in the namespace
*/
public static function get_attributes(SimpleXMLElement $item, $ns) {
$attributes = array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment