Merge pull request #10024 from sunnysideup/patch-16

DOCS better docblock for TinyMCEConfig::removeButtons
This commit is contained in:
Daniel Hensby 2021-07-18 11:30:43 +01:00 committed by GitHub
commit cc8287c99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -492,7 +492,7 @@ class TinyMCEConfig extends HTMLEditorConfig implements i18nEntityProvider
* Totally re-set the buttons on a given line * Totally re-set the buttons on a given line
* *
* @param int $line The line number to redefine, from 1 to 3 * @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. * @param string|string[] $buttons,... An array of strings, or one or more strings.
* The button names to assign to this line. * The button names to assign to this line.
* @return $this * @return $this
*/ */
@ -593,7 +593,7 @@ class TinyMCEConfig extends HTMLEditorConfig implements i18nEntityProvider
/** /**
* Remove the first occurrence of buttons * 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) public function removeButtons($buttons)
{ {