Verified Commit 527ed343 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(plugins) Fix two mistakes spotted by sonar

issue #6061
Showing with 2 additions and 2 deletions
+2 -2
...@@ -519,7 +519,7 @@ class faiPartition extends simplePlugin ...@@ -519,7 +519,7 @@ class faiPartition extends simplePlugin
} }
} }
return $messages; return $errors;
} }
function save (): array function save (): array
......
...@@ -73,7 +73,7 @@ class SocialAccountAttribute extends CompositeAttribute ...@@ -73,7 +73,7 @@ class SocialAccountAttribute extends CompositeAttribute
$value = $handler->validate($this->attributes[1]->getValue()); $value = $handler->validate($this->attributes[1]->getValue());
$this->attributes[1]->setValue($value); $this->attributes[1]->setValue($value);
} catch (socialHandlerInvalidValueException $e) { } catch (socialHandlerInvalidValueException $e) {
new SimplePluginCheckError( return new SimplePluginCheckError(
$this, $this,
htmlescape($e->getMessage()), htmlescape($e->getMessage()),
0, 0,
......
Supports Markdown
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