DOCS better docblock for TinyMCEConfig::removeButtons

This commit is contained in:
Nicolaas 2021-07-17 12:01:47 +12:00 committed by Daniel Hensby
parent ae61be3a49
commit c8c7ee4a08
No known key found for this signature in database
GPG Key ID: D8DEBC4C8E7BC8B9
1 changed files with 3 additions and 3 deletions

View File

@ -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)
{