Skip to content
Snippets Groups Projects
Commit 56b8cbb3 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2391295 by er.pushpinderrana, dawehner: Use @return $this instead of...

Issue #2391295 by er.pushpinderrana, dawehner: Use @return $this instead of @return static in EntityInterface
parent c3aa5f4d
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ public function get($property);
* @param mixed $value
* The value to set.
*
* @return static
* @return $this
*/
public function set($property, $value);
......@@ -173,7 +173,7 @@ public function isPersistentlyCacheable();
* @param string $class
* The name of the entity type class.
*
* @return static
* @return $this
*/
public function setClass($class);
......@@ -265,7 +265,7 @@ public function getFormClass($operation);
* The form class implementing
* \Drupal\Core\Entity\EntityFormInterface.
*
* @return static
* @return $this
*
* @see \Drupal\Core\Entity\EntityFormBuilderInterface
*/
......@@ -293,7 +293,7 @@ public function getListBuilderClass();
* @param string $class
* The list class to use for the operation.
*
* @return static
* @return $this
*/
public function setListBuilderClass($class);
......@@ -368,7 +368,7 @@ public function isSubclassOf($class);
* @param array|string $value
* The value for a handler type.
*
* @return static
* @return $this
*/
public function setHandlerClass($handler_type, $value);
......@@ -455,7 +455,7 @@ public function hasLinkTemplate($key);
* @param string $route_name
* The route name to use for the link.
*
* @return static
* @return $this
*/
public function setLinkTemplate($key, $route_name);
......@@ -485,7 +485,7 @@ public function getLabelCallback();
* @param callable $callback
* A callable that returns the label of the entity.
*
* @return static
* @return $this
*/
public function setLabelCallback($callback);
......@@ -625,7 +625,7 @@ public function getUriCallback();
* @param callable $callback
* A callback to use to provide a URI for the entity.
*
* @return static
* @return $this
*/
public function setUriCallback($callback);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment