Fix class methods staticity/return value
This commit is contained in:
parent
916236ce2f
commit
4b5894817e
3 changed files with 5 additions and 7 deletions
|
|
@ -32,7 +32,7 @@ class Feed {
|
|||
*
|
||||
* @return array In simulation mode it returns the header and the first item
|
||||
*/
|
||||
function import($xml, $importer, &$contact, &$hub, $simulate = false) {
|
||||
public static function import($xml, $importer, &$contact, &$hub, $simulate = false) {
|
||||
|
||||
$a = get_app();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue