Skip to content

Commit

Permalink
Issue #3126957 by Suresh Prabhu Parkala, jungle, Neslee Canil Pinto, …
Browse files Browse the repository at this point in the history
…Kristen Pol, xjm: Add missing curly brackets around @inheritdoc
  • Loading branch information
xjm committed Apr 30, 2020
1 parent 6118d5b commit ab20a22
Show file tree
Hide file tree
Showing 27 changed files with 42 additions and 44 deletions.
2 changes: 1 addition & 1 deletion modules/ckeditor/js/views/KeyboardView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
render() {},

Expand Down
2 changes: 1 addition & 1 deletion modules/contextual/js/toolbar/views/AuralView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.contextualToolbar.AuralView}
* The current contextual toolbar aural view.
Expand Down
2 changes: 1 addition & 1 deletion modules/contextual/js/toolbar/views/VisualView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.contextualToolbar.VisualView}
* The current contextual toolbar visual view.
Expand Down
2 changes: 1 addition & 1 deletion modules/contextual/js/views/AuralView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
render() {
const isOpen = this.model.get('isOpen');
Expand Down
2 changes: 1 addition & 1 deletion modules/contextual/js/views/RegionView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.contextual.RegionView}
* The current contextual region view.
Expand Down
2 changes: 1 addition & 1 deletion modules/contextual/js/views/VisualView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.contextual.VisualView}
* The current contextual visual view.
Expand Down
8 changes: 4 additions & 4 deletions modules/editor/js/editor.formattedTextEditor.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {jQuery}
* The text element edited.
Expand All @@ -83,7 +83,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @param {object} fieldModel
* The field model.
Expand Down Expand Up @@ -179,7 +179,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {object}
* The settings for the quick edit UI.
Expand All @@ -194,7 +194,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
revert() {
this.$textElement.html(this.model.get('originalValue'));
Expand Down
10 changes: 5 additions & 5 deletions modules/image/js/editors/image.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @param {Drupal.quickedit.FieldModel} fieldModel
* The field model that holds the state.
Expand Down Expand Up @@ -329,14 +329,14 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
revert() {
this.$el.html(this.model.get('originalValue'));
},

/**
* @inheritdoc
* {@inheritdoc}
*/
getQuickEditUISettings() {
return {
Expand All @@ -348,7 +348,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
showValidationErrors() {
const errors = Drupal.theme('quickeditImageErrors', {
Expand All @@ -363,7 +363,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
removeValidationErrors() {
$(`#${this.fieldModel.toolbarView.getMainWysiwygToolgroupId()}`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ class VersionNegotiatorTest extends JsonapiKernelTestBase {
];

/**
* Initialization tasks for the test.
*
* @inheritdoc
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
Expand Down
2 changes: 1 addition & 1 deletion modules/migrate/src/Plugin/migrate/id_map/Sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ public function currentDestination() {
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function currentSource() {
if ($this->valid()) {
Expand Down
2 changes: 1 addition & 1 deletion modules/migrate/tests/src/Unit/process/UrlEncodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class UrlEncodeTest extends MigrateTestCase {

/**
* @inheritdoc
* {@inheritdoc}
*/
protected $migrationConfiguration = [
'id' => 'test',
Expand Down
2 changes: 1 addition & 1 deletion modules/migrate_drupal/src/Annotation/MigrateField.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class MigrateField extends Plugin {

/**
* @inheritdoc
* {@inheritdoc}
*/
public function __construct($values) {
parent::__construct($values);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ abstract class PathAliasResourceTestBase extends EntityResourceTestBase {
protected static $entityTypeId = 'path_alias';

/**
* @inheritdoc
* {@inheritdoc}
*/
protected static $patchProtectedFieldNames = [];

Expand Down
8 changes: 4 additions & 4 deletions modules/quickedit/js/editors/formEditor.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
formSaveAjax: null,

/**
* @inheritdoc
* {@inheritdoc}
*
* @param {object} fieldModel
* The field model that holds the state.
Expand Down Expand Up @@ -76,7 +76,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {object}
* A settings object for the quick edit UI.
Expand Down Expand Up @@ -192,7 +192,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
save() {
const $formContainer = this.$formContainer;
Expand Down Expand Up @@ -265,7 +265,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
showValidationErrors() {
this.$formContainer
Expand Down
8 changes: 4 additions & 4 deletions modules/quickedit/js/editors/plainTextEditor.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {jQuery}
* The text element for the plain text editor.
Expand All @@ -55,7 +55,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @param {object} fieldModel
* The field model that holds the state.
Expand Down Expand Up @@ -115,7 +115,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {object}
* A settings object for the quick edit UI.
Expand All @@ -130,7 +130,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
revert() {
this.$textElement.html(this.model.get('originalValue'));
Expand Down
2 changes: 1 addition & 1 deletion modules/quickedit/js/models/EntityModel.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
sync() {
// We don't use REST updates to sync.
Expand Down
2 changes: 1 addition & 1 deletion modules/quickedit/js/models/FieldModel.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
sync() {
// We don't use REST updates to sync.
Expand Down
2 changes: 1 addition & 1 deletion modules/quickedit/js/views/EditorView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
remove() {
// The el property is the field, which should not be removed. Remove the
Expand Down
4 changes: 2 additions & 2 deletions modules/quickedit/js/views/EntityDecorationView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
render() {
this.$el.toggleClass(
Expand All @@ -28,7 +28,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
remove() {
this.setElement(null);
Expand Down
4 changes: 2 additions & 2 deletions modules/quickedit/js/views/EntityToolbarView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.quickedit.EntityToolbarView}
* The entity toolbar view.
Expand Down Expand Up @@ -151,7 +151,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
remove() {
// Remove additional DOM elements controlled by this View.
Expand Down
2 changes: 1 addition & 1 deletion modules/quickedit/js/views/FieldDecorationView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
remove() {
// The el property is the field, which should not be removed. Remove the
Expand Down
2 changes: 1 addition & 1 deletion modules/quickedit/js/views/FieldToolbarView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.quickedit.FieldToolbarView}
* The current FieldToolbarView.
Expand Down
2 changes: 1 addition & 1 deletion modules/toolbar/js/models/ToolbarModel.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @param {object} attributes
* Attributes for the toolbar.
Expand Down
2 changes: 1 addition & 1 deletion modules/toolbar/js/views/BodyVisualView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
render() {
$('body')
Expand Down
2 changes: 1 addition & 1 deletion modules/toolbar/js/views/MenuVisualView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*/
render() {
const subtrees = this.model.get('subtrees');
Expand Down
2 changes: 1 addition & 1 deletion modules/toolbar/js/views/ToolbarVisualView.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.toolbar.ToolbarVisualView}
* The `ToolbarVisualView` instance.
Expand Down
2 changes: 1 addition & 1 deletion modules/tour/js/tour.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
},

/**
* @inheritdoc
* {@inheritdoc}
*
* @return {Drupal.tour.views.ToggleTourView}
* The `ToggleTourView` view.
Expand Down

0 comments on commit ab20a22

Please sign in to comment.