Various PSR12 code cleanup

This commit is contained in:
James Cole
2022-12-29 19:42:26 +01:00
parent dbf3e76ecc
commit 6cfdc58cb1
415 changed files with 7462 additions and 6874 deletions

View File

@@ -41,7 +41,7 @@ class MoveNotesToDescription implements ActionInterface
*
* @codeCoverageIgnore
*
* @param RuleAction $action
* @param RuleAction $action
*/
public function __construct(RuleAction $action)
{
@@ -69,9 +69,9 @@ class MoveNotesToDescription implements ActionInterface
$note->delete();
return false;
}
$before = $object->description;
$beforeNote = $note->text;
$object->description = (string) $this->clearString($note->text, false);
$before = $object->description;
$beforeNote = $note->text;
$object->description = (string)$this->clearString($note->text, false);
$object->save();
$note->delete();