diff --git a/src/Entity/HelpTopic.php b/src/Entity/HelpTopic.php
index 5541561..73c3755 100644
--- a/src/Entity/HelpTopic.php
+++ b/src/Entity/HelpTopic.php
@@ -190,9 +190,7 @@ class HelpTopic extends ConfigEntityBase implements HelpTopicInterface, EntityWi
    * {@inheritdoc}
    */
   public function setRelated(array $topics) {
-    $this->set('related', $topics);
-
-    return $this;
+    return $this->set('related', $topics);
   }
 
   /**
@@ -206,9 +204,7 @@ class HelpTopic extends ConfigEntityBase implements HelpTopicInterface, EntityWi
    * {@inheritdoc}
    */
   public function setListOn(array $topics) {
-    $this->set('list_on', $topics);
-
-    return $this;
+    return $this->set('list_on', $topics);
   }
 
   /**
