Skip to content

Commit

Permalink
Issue #3132287 by jungle, dww, xjm: Fix wrong usages of {@inheritdoc}
Browse files Browse the repository at this point in the history
  • Loading branch information
xjm committed May 1, 2020
1 parent 2539da6 commit 411c18e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/Drupal/Core/Field/FieldConfigBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public function isRequired() {
}

/**
* [@inheritdoc}
* {@inheritdoc}
*/
public function setRequired($required) {
$this->required = $required;
Expand Down
2 changes: 1 addition & 1 deletion lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class ProxyBuilder extends BaseProxyBuilder {

/**
* {@inheritdoc{
* {@inheritdoc}
*/
protected function buildUseStatements() {
$output = parent::buildUseStatements();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function __construct(EntityTypeManagerInterface $entity_type_manager, Con
}

/**
* [@inheritdoc}
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
return new static(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
class NestedEntityTestForm extends FormBase {

/**
* {@inheritdoc]
* {@inheritdoc}
*/
public function getFormId() {
return 'field_test_entity_nested_form';
}

/**
* {@inheritdoc]
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state, EntityInterface $entity_1 = NULL, EntityInterface $entity_2 = NULL) {
// First entity.
Expand Down Expand Up @@ -66,7 +66,7 @@ public function buildForm(array $form, FormStateInterface $form_state, EntityInt
}

/**
* {@inheritdoc]
* {@inheritdoc}
*/
public function validateForm(array &$form, FormStateInterface $form_state) {
$entity_1 = $form_state->get('entity_1');
Expand Down
2 changes: 1 addition & 1 deletion modules/link/src/Plugin/migrate/cckfield/d7/LinkField.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function getFieldWidgetMap() {
}

/**
* @inheritdoc}
* {@inheritdoc}
*/
public function alterFieldInstanceMigration(MigrationInterface $migration) {
$process = [
Expand Down
2 changes: 1 addition & 1 deletion modules/rest/src/Entity/RestResourceConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public function getPluginCollections() {
}

/**
* (@inheritdoc)
* {@inheritdoc}
*/
public function calculateDependencies() {
parent::calculateDependencies();
Expand Down

0 comments on commit 411c18e

Please sign in to comment.