Commit 5439b769 authored by webchick's avatar webchick
Browse files

Issue #2187063 by Les Lim: Fix @inheritdoc typos throughout core.

parent 0110b8ed
...@@ -62,7 +62,7 @@ public function get($entity_type, $conjunction, EntityManagerInterface $entity_m ...@@ -62,7 +62,7 @@ public function get($entity_type, $conjunction, EntityManagerInterface $entity_m
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getAggregate($entity_type, $conjunction, EntityManagerInterface $entity_manager) { public function getAggregate($entity_type, $conjunction, EntityManagerInterface $entity_manager) {
throw new QueryException('Aggregation over configuration entities is not supported'); throw new QueryException('Aggregation over configuration entities is not supported');
......
...@@ -95,7 +95,7 @@ protected function loadNextElements($offset) { ...@@ -95,7 +95,7 @@ protected function loadNextElements($offset) {
} }
/** /**
* {inheritdoc} * {@inheritdoc}
*/ */
public function count() { public function count() {
if (!isset($this->count)) { if (!isset($this->count)) {
......
...@@ -20,7 +20,7 @@ class RouteBuilderStatic implements RouteBuilderInterface { ...@@ -20,7 +20,7 @@ class RouteBuilderStatic implements RouteBuilderInterface {
protected $rebuildNeeded = FALSE; protected $rebuildNeeded = FALSE;
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function rebuild() { public function rebuild() {
// @todo Add the route for the batch pages when that conversion happens, // @todo Add the route for the batch pages when that conversion happens,
...@@ -28,7 +28,7 @@ public function rebuild() { ...@@ -28,7 +28,7 @@ public function rebuild() {
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function rebuildIfNeeded(){ public function rebuildIfNeeded(){
if ($this->rebuildNeeded && $this->rebuild()) { if ($this->rebuildNeeded && $this->rebuild()) {
...@@ -39,7 +39,7 @@ public function rebuildIfNeeded(){ ...@@ -39,7 +39,7 @@ public function rebuildIfNeeded(){
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setRebuildNeeded() { public function setRebuildNeeded() {
$this->rebuildNeeded = TRUE; $this->rebuildNeeded = TRUE;
......
...@@ -118,7 +118,7 @@ public function getActiveTheme() { ...@@ -118,7 +118,7 @@ public function getActiveTheme() {
} }
/** /**
* {@inheritdoc * {@inheritdoc}
*/ */
public function applies(Request $request) { public function applies(Request $request) {
return TRUE; return TRUE;
......
...@@ -40,7 +40,7 @@ public function __construct(Connection $database) { ...@@ -40,7 +40,7 @@ public function __construct(Connection $database) {
} }
/** /**
* {inheritdoc} * {@inheritdoc}
*/ */
public static function create(ContainerInterface $container) { public static function create(ContainerInterface $container) {
return new static( return new static(
......
...@@ -106,98 +106,98 @@ public static function baseFieldDefinitions($entity_type) { ...@@ -106,98 +106,98 @@ public static function baseFieldDefinitions($entity_type) {
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getFeedId() { public function getFeedId() {
return $this->get('fid')->target_id; return $this->get('fid')->target_id;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setFeedId($fid) { public function setFeedId($fid) {
return $this->set('fid', $fid); return $this->set('fid', $fid);
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getTitle() { public function getTitle() {
return $this->get('title')->value; return $this->get('title')->value;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setTitle($title) { public function setTitle($title) {
return $this->set('title', $title); return $this->set('title', $title);
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getLink() { public function getLink() {
return $this->get('link')->value; return $this->get('link')->value;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setLink($link) { public function setLink($link) {
return $this->set('link', $link); return $this->set('link', $link);
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getAuthor() { public function getAuthor() {
return $this->get('author')->value; return $this->get('author')->value;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setAuthor($author) { public function setAuthor($author) {
return $this->set('author', $author); return $this->set('author', $author);
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getDescription() { public function getDescription() {
return $this->get('description')->value; return $this->get('description')->value;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setDescription($description) { public function setDescription($description) {
return $this->set('description', $description); return $this->set('description', $description);
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getPostedTime() { public function getPostedTime() {
return $this->get('timestamp')->value; return $this->get('timestamp')->value;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setPostedTime($timestamp) { public function setPostedTime($timestamp) {
return $this->set('timestamp', $timestamp); return $this->set('timestamp', $timestamp);
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getGuid() { public function getGuid() {
return $this->get('guid')->value; return $this->get('guid')->value;
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setGuid($guid) { public function setGuid($guid) {
return $this->set('guid', $guid); return $this->set('guid', $guid);
......
...@@ -45,7 +45,7 @@ public function __construct(ConfigMapperManagerInterface $mapper_manager, $confi ...@@ -45,7 +45,7 @@ public function __construct(ConfigMapperManagerInterface $mapper_manager, $confi
} }
/** /**
* {inheritdoc} * {@inheritdoc}
*/ */
public static function create(ContainerInterface $container) { public static function create(ContainerInterface $container) {
return new static( return new static(
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
}, },
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
initialize: function () { initialize: function () {
this.set('fields', new Drupal.edit.FieldCollection()); this.set('fields', new Drupal.edit.FieldCollection());
...@@ -511,7 +511,7 @@ ...@@ -511,7 +511,7 @@
}, },
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
destroy: function (options) { destroy: function (options) {
Drupal.edit.BaseModel.prototype.destroy.call(this, options); Drupal.edit.BaseModel.prototype.destroy.call(this, options);
......
...@@ -154,7 +154,7 @@ protected function getDisplayType() { ...@@ -154,7 +154,7 @@ protected function getDisplayType() {
} }
/** /**
* {@inheritdoc * {@inheritdoc}
*/ */
protected function getTableHeader() { protected function getTableHeader() {
return array( return array(
......
...@@ -121,7 +121,7 @@ protected function getDisplayType() { ...@@ -121,7 +121,7 @@ protected function getDisplayType() {
} }
/** /**
* {@inheritdoc * {@inheritdoc}
*/ */
protected function getTableHeader() { protected function getTableHeader() {
return array( return array(
......
...@@ -40,7 +40,7 @@ public function __construct(EntityManagerInterface $entity_manager, ModuleHandle ...@@ -40,7 +40,7 @@ public function __construct(EntityManagerInterface $entity_manager, ModuleHandle
} }
/** /**
* {@inheritdoc}. * {@inheritdoc}
*/ */
public static function create(ContainerInterface $container) { public static function create(ContainerInterface $container) {
return new static( return new static(
......
...@@ -537,7 +537,7 @@ public function postSave(EntityStorageControllerInterface $storage_controller, $ ...@@ -537,7 +537,7 @@ public function postSave(EntityStorageControllerInterface $storage_controller, $
} }
/** /**
* @inheritdoc} * {@inheritdoc}
*/ */
public static function postLoad(EntityStorageControllerInterface $storage_controller, array &$entities) { public static function postLoad(EntityStorageControllerInterface $storage_controller, array &$entities) {
parent::postLoad($storage_controller, $entities); parent::postLoad($storage_controller, $entities);
......
...@@ -75,7 +75,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o ...@@ -75,7 +75,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
} }
/** /**
* {@inheritdoc } * {@inheritdoc}
*/ */
protected function defineOptions() { protected function defineOptions() {
$options = parent::defineOptions(); $options = parent::defineOptions();
...@@ -90,7 +90,7 @@ protected function defineOptions() { ...@@ -90,7 +90,7 @@ protected function defineOptions() {
} }
/** /**
* {@inheritdoc } * {@inheritdoc}
*/ */
public function buildOptionsForm(&$form, &$form_state) { public function buildOptionsForm(&$form, &$form_state) {
$form['action_title'] = array( $form['action_title'] = array(
......
...@@ -76,14 +76,14 @@ public function getRoutesByPattern($pattern) { ...@@ -76,14 +76,14 @@ public function getRoutesByPattern($pattern) {
} }
/** /**
* @inheritdoc} * {@inheritdoc}
*/ */
public function getAllRoutes() { public function getAllRoutes() {
return $this->routes->all(); return $this->routes->all();
} }
/** /**
* @inheritdoc} * {@inheritdoc}
*/ */
public function reset() { public function reset() {
$this->routes = array(); $this->routes = array();
......
...@@ -58,7 +58,7 @@ public function buildForm(array $form, array &$form_state, UserInterface $user = ...@@ -58,7 +58,7 @@ public function buildForm(array $form, array &$form_state, UserInterface $user =
} }
/** /**
* {@inheritdoc}. * {@inheritdoc}
*/ */
public function submitForm(array &$form, array &$form_state) { public function submitForm(array &$form, array &$form_state) {
drupal_set_message($this->t('The password has been validated and the form submitted successfully.')); drupal_set_message($this->t('The password has been validated and the form submitted successfully.'));
......
...@@ -198,7 +198,7 @@ public function getSorts() { ...@@ -198,7 +198,7 @@ public function getSorts() {
} }
/** /**
* {@inheritdoc} Drupal\views\Plugin\views\wizard\WizardInterface::buildForm(). * {@inheritdoc}
*/ */
public function buildForm(array $form, array &$form_state) { public function buildForm(array $form, array &$form_state) {
$style_options = views_fetch_plugin_names('style', 'normal', array($this->base_table)); $style_options = views_fetch_plugin_names('style', 'normal', array($this->base_table));
......
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