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

Correct more warnings found after revealing E_RECOVERABLE_ERRORs.


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent fffdc460
......@@ -399,7 +399,7 @@ class LeapImportInternal extends LeapImportArtefactPlugin {
/**
* Attempts to import a persondata field with leap:field="website"
*/
private static function import_persondata_website(PluginImportLeap $importer, SimpleXMLEntry $item, array $leapattributes) {
private static function import_persondata_website(PluginImportLeap $importer, SimpleXMLElement $item, array $leapattributes) {
// We've been given a 'website' field, but Mahara has three profile
// fields for website. So we need to examine it deeper to establish
// which field it should import into
......@@ -431,7 +431,7 @@ class LeapImportInternal extends LeapImportArtefactPlugin {
/**
* Attempts to import a persondata field with leap:field="other"
*/
private static function import_persondata_other(PluginImportLeap $importer, SimpleXMLEntry $item, array $leapattributes) {
private static function import_persondata_other(PluginImportLeap $importer, SimpleXMLElement $item, array $leapattributes) {
// The only 'other' field we can actually import is one we recognise as
// 'student ID'
$maharaattributes = PluginImportLeap::get_attributes($item, PluginImportLeap::NS_MAHARA);
......
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