From 0d3e0af115059b89c477a54186cb71e42a1bed62 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 28 Feb 2022 16:05:08 +0000 Subject: [PATCH] style: move override tags to the end of JSDoc --- core/block_svg.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/block_svg.js b/core/block_svg.js index 3b164ed092d..3b81d63f857 100644 --- a/core/block_svg.js +++ b/core/block_svg.js @@ -1636,33 +1636,33 @@ class BlockSvg extends Block { } /** - * @override * @return {?BlockSvg} The block (if any) that surrounds the current block. + * @override */ getSurroundParent() { return /** @type {?BlockSvg} */ (super.getSurroundParent()); } /** - * @override * @return {?BlockSvg} The next statement block or null. + * @override */ getNextBlock() { return /** @type {?BlockSvg} */ (super.getNextBlock()); } /** - * @override * @return {?BlockSvg} The previou statement block or null. + * @override */ getPreviousBlock() { return /** @type {?BlockSvg} */ (super.getPreviousBlock()); } /** - * @override * @return {?RenderedConnection} The first statement connection or null. * @package + * @override */ getFirstStatementConnection() { return /** @type {?RenderedConnection} */ ( @@ -1670,36 +1670,36 @@ class BlockSvg extends Block { } /** - * @override * @return {!BlockSvg} The top block in a stack. + * @override */ getTopStackBlock() { return /** @type {!BlockSvg} */ (super.getTopStackBlock()); } /** - * @override * @param {boolean} ordered Sort the list if true. * @return {!Array} Children of this block. + * @override */ getChildren(ordered) { return /** @type {!Array} */ (super.getChildren(ordered)); } /** - * @override * @param {boolean} ordered Sort the list if true. * @return {!Array} Descendants of this block. + * @override */ getDescendants(ordered) { return /** @type {!Array} */ (super.getDescendants(ordered)); } /** - * @override * @param {string} name The name of the input. * @return {?BlockSvg} The attached value block, or null if the input is * either disconnected or if the input does not exist. + * @override */ getInputTargetBlock(name) { return /** @type {?BlockSvg} */ (super.getInputTargetBlock(name));