Commit 2f2b1a0e authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Fix typo in PHPdoc of trimExplode()

The mentioned variable $onlyNonEmptyValues does
not exist. It has to be $removeEmptyValues.

Resolves: #94175
Releases: master, 10.4
Change-Id: I18983ef7c62e0f3c7e8d98710d5445b7376bc02d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69217


Tested-by: Jochen's avatarJochen <rothjochen@gmail.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Jochen's avatarJochen <rothjochen@gmail.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent 2cc09dd9
......@@ -976,7 +976,7 @@ class GeneralUtility
/**
* Explodes a string and removes whitespace-only values.
*
* If $onlyNonEmptyValues is set, then all values that contain only whitespace are removed.
* If $removeEmptyValues is set, then all values that contain only whitespace are removed.
*
* Each item will have leading and trailing whitespace removed. However, if the tail items are
* returned as a single array item, their internal whitespace will not be modified.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment