From c8c7ee4a0858a1fd4be4900f184d3180a3075dd8 Mon Sep 17 00:00:00 2001 From: Nicolaas Date: Sat, 17 Jul 2021 12:01:47 +1200 Subject: [PATCH] DOCS better docblock for TinyMCEConfig::removeButtons --- src/Forms/HTMLEditor/TinyMCEConfig.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Forms/HTMLEditor/TinyMCEConfig.php b/src/Forms/HTMLEditor/TinyMCEConfig.php index ec137bf8d..44ab942ab 100644 --- a/src/Forms/HTMLEditor/TinyMCEConfig.php +++ b/src/Forms/HTMLEditor/TinyMCEConfig.php @@ -492,8 +492,8 @@ class TinyMCEConfig extends HTMLEditorConfig implements i18nEntityProvider * Totally re-set the buttons on a given line * * @param int $line The line number to redefine, from 1 to 3 - * @param string ...$buttons A string or several strings, or a single array of strings. - * The button names to assign to this line. + * @param string|string[] $buttons,... An array of strings, or one or more strings. + * The button names to assign to this line. * @return $this */ public function setButtonsForLine($line, $buttons) @@ -593,7 +593,7 @@ class TinyMCEConfig extends HTMLEditorConfig implements i18nEntityProvider /** * Remove the first occurrence of buttons - * @param string ...$buttons one or more strings - the name of the buttons to remove + * @param string|string[] $buttons,... An array of strings, or one or more strings. The button names to remove. */ public function removeButtons($buttons) {