Commit 40942c74 authored by webchick's avatar webchick

Issue #2282125 by joshi.rohit100, mtift: Fixed Remove instances of '@return self'.

parent c451db4f
......@@ -55,16 +55,14 @@ public function installCollectionDefaultConfig($collection);
*
* @param \Drupal\Core\Config\StorageInterface $storage
*
* @return self
* The configuration installer.
* @return $this
*/
public function setSourceStorage(StorageInterface $storage);
/**
* Resets the configuration storage that provides the default configuration.
*
* @return self
* The configuration installer.
* @return $this
*/
public function resetSourceStorage();
......
......@@ -89,8 +89,7 @@ public function getOverrides() {
* @param array $values
* The values in the configuration object to override.
*
* @return self
* The ConfigModuleOverridesEvent object.
* @return $this
*/
public function setOverride($name, array $values) {
if (in_array($name, $this->names)) {
......
......@@ -21,8 +21,7 @@ interface EntityDisplayInterface {
* @param $view_mode
* The view mode for the new object.
*
* @return self
* The new object.
* @return static
*/
public function createCopy($view_mode);
......@@ -54,8 +53,7 @@ public function getComponent($name);
* @param array $options
* The display options.
*
* @return self
* The entity display object.
* @return $this
*/
public function setComponent($name, array $options = array());
......@@ -65,8 +63,7 @@ public function setComponent($name, array $options = array());
* @param string $name
* The name of the component.
*
* @return self
* The entity display object.
* @return $this
*/
public function removeComponent($name);
......
......@@ -65,7 +65,7 @@ public function isNew();
* (optional) Whether the entity should be forced to be new. Defaults to
* TRUE.
*
* @return self
* @return $this
*
* @see \Drupal\Core\Entity\EntityInterface::isNew()
*/
......
......@@ -63,8 +63,7 @@ public function guess($path) {
* @param int $priority
* The priority of the guesser being added.
*
* @return self
* The called object.
* @return $this
*/
public function addGuesser(MimeTypeGuesserInterface $guesser, $priority = 0) {
$this->guessers[$priority][] = $guesser;
......
......@@ -45,8 +45,7 @@ public function __construct(ImageToolkitManager $toolkit_manager) {
* @param string $toolkit_id
* The ID of the image toolkit to use for this image factory.
*
* @return self
* Returns this image.
* @return $this
*/
public function setToolkitId($toolkit_id) {
$this->toolkitId = $toolkit_id;
......
......@@ -63,8 +63,7 @@ public function __toString() {
* @param mixed $value
* The value to which to set it.
*
* @return self
* The invoked object.
* @return $this
*/
public function setAttribute($key, $value) {
$this->attributes[$key] = $value;
......@@ -88,8 +87,7 @@ public function &getAttributes() {
* (optional) Whether or not this element should be wrapped in <noscript>.
* Defaults to TRUE.
*
* @return self
* The element..
* @return $this
*/
public function setNoScript($value = TRUE) {
$this->noScript = $value;
......
......@@ -86,8 +86,7 @@ protected function initializePlugin($instance_id) {
/**
* Sorts all plugin instances in this bag.
*
* @return self
* Returns the plugin bag.
* @return $this
*/
public function sort() {
uasort($this->instanceIDs, array($this, 'sortHelper'));
......
......@@ -106,8 +106,7 @@ public function getItemDefinition() {
* @param \Drupal\Core\TypedData\DataDefinition $definition
* A list item's data definition.
*
* @return self
* The object itself for chaining.
* @return $this
*/
public function setItemDefinition(DataDefinitionInterface $definition) {
$this->itemDefinition = $definition;
......
......@@ -74,8 +74,7 @@ public function getWeight();
* @param int $weight
* The weight for this image effect.
*
* @return self
* This image effect.
* @return $this
*/
public function setWeight($weight);
......
......@@ -95,8 +95,7 @@ public function getPathToken($uri);
* (optional) The original image path or URI. If it's supplied, only this
* image derivative will be flushed.
*
* @return self
* This image style.
* @return $this
*/
public function flush($path = NULL);
......@@ -167,8 +166,7 @@ public function addImageEffect(array $configuration);
* @param \Drupal\image\ImageEffectInterface $effect
* The image effect object.
*
* @return self
* This image style.
* @return $this
*/
public function deleteImageEffect(ImageEffectInterface $effect);
......
......@@ -29,8 +29,7 @@ public function getPattern();
* @param string $pattern
* The date pattern to use for this format.
*
* @return self
* Returns the date format.
* @return $this
*/
public function setPattern($pattern);
......
......@@ -42,8 +42,7 @@ class GDToolkit extends ImageToolkitBase {
* @param resource $resource
* The GD image resource.
*
* @return self
* Returns this toolkit object.
* @return $this
*/
public function setResource($resource) {
$this->resource = $resource;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment