diff -u b/core/modules/aggregator/lib/Drupal/aggregator/FeedInterface.php b/core/modules/aggregator/lib/Drupal/aggregator/FeedInterface.php --- b/core/modules/aggregator/lib/Drupal/aggregator/FeedInterface.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/FeedInterface.php @@ -21,7 +21,7 @@ * @param string $title * A string containing the title of the feed. * - * @return \Drupal\comment\CommentInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setTitle($title); @@ -40,7 +40,7 @@ * @param string $langcode. * A string containing the langcode of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setLangcode($langcode); @@ -61,7 +61,7 @@ * @param string $url * A string containing the url of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setUrl($url); @@ -81,7 +81,7 @@ * @param int $refresh * The refresh rate of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setRefresh($refresh); @@ -101,7 +101,7 @@ * @param int $checked * A int with the time of the last refresh. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setChecked($checked); @@ -121,7 +121,7 @@ * @param int $queued * A int with the time of the last refresh. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setQueued($queued); @@ -141,7 +141,7 @@ * @param string $link * A string containing the parent website of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setLink($link); @@ -160,7 +160,7 @@ * @param string $description * A string containing the langcode of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setDescription($description); @@ -179,7 +179,7 @@ * @param string $image * A string containing the langcode of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setImage($image); @@ -199,7 +199,7 @@ * @param string $hash * A string containing the calculated hash of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setHash($hash); @@ -218,7 +218,7 @@ * @param string $etag * A string containing the Entity tag HTTP response header. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setEtag($etag); @@ -238,7 +238,7 @@ * @param int $modified * A string containing the modification of the feed. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setModified($modified); @@ -257,7 +257,7 @@ * @param int $block * A int containing the Number of items to display in the feed’s block. * - * @return \Drupal\aggregator\Plugin\Core\Entity\FeedInterface|null + * @return \Drupal\aggregator\FeedInterface * The class instance that this method is called on. */ public function setBlock($block); diff -u b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php --- b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php @@ -41,13 +41,6 @@ class Feed extends EntityNG implements FeedInterface { /** - * Overrides Drupal\Core\Entity\EntityNG::init(). - */ - public function init() { - parent::init(); - } - - /** * Implements Drupal\Core\Entity\EntityInterface::id(). */ public function id() { @@ -148,8 +141,6 @@ } } - - /** * {@inheritdoc} */