Commit 0b3a10b6 authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix type hint for this method.

It takes stdClass objects, not arrays.
Signed-off-by: default avatarNigel McNie <>
parent 926fce07
......@@ -723,10 +723,10 @@ class PluginImportLeap extends PluginImport {
* references to other artefacts, and rewrite those to point at the created
* ones.
* @param array $artefact A record from the artefact table (only id, title,
* @param object $artefact A record from the artefact table (only id, title,
* description fields required)
private function fix_artefact_references(array $artefact) {
private function fix_artefact_references($artefact) {
$changed = false;
if ($this->artefact_reference_quickcheck($artefact->title)) {
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