Explorar o código

Docs: Fixed @returns use. [skip ci]

Piotrek Koszuliński %!s(int64=7) %!d(string=hai) anos
pai
achega
a5c24a05d8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/ckeditor5-table/src/converters/downcast.js

+ 2 - 2
packages/ckeditor5-table/src/converters/downcast.js

@@ -430,7 +430,7 @@ function getSectionName( row, tableAttributes ) {
 // @param {module:engine/view/element~Element} viewTable
 // @param {Object} conversionApi
 // @param {Object} cachedTableSection An object on which store cached elements.
-// @return {module:engine/view/containerelement~ContainerElement}
+// @returns {module:engine/view/containerelement~ContainerElement}
 function getOrCreateTableSection( sectionName, viewTable, conversionApi ) {
 	const viewTableSection = getExistingTableSectionElement( sectionName, viewTable );
 
@@ -455,7 +455,7 @@ function getExistingTableSectionElement( sectionName, tableElement ) {
 // @param {String} sectionName
 // @param {module:engine/view/element~Element} tableElement
 // @param {Object} conversionApi
-// @return {module:engine/view/containerelement~ContainerElement}
+// @returns {module:engine/view/containerelement~ContainerElement}
 function createTableSection( sectionName, tableElement, conversionApi ) {
 	const tableChildElement = conversionApi.writer.createContainerElement( sectionName );