Paragraphs no longer have their own author, check the parent entity instead.
public function setOwner(UserInterface $account) { return $this; }