Skip to content
Snippets Groups Projects
Commit 2e0ba1b9 authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[BUGFIX] Deprecation free \Countable in AbstractCompositeValidator

Set #[\ReturnTypeWillChange] and corresponding @todo comments to
methods of implemented interfaces in AbstractCompositeValidator
to avoid deprecation messages without breaking compatibility.

Resolves: #95753
Releases: master
Change-Id: I0bbdabceefabc084d28ca8fc647339fb10d91a67
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71958


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 7100961d
Branches
Tags
No related merge requests found
......@@ -114,7 +114,9 @@ abstract class AbstractCompositeValidator implements ObjectValidatorInterface, \
* Returns the number of validators contained in this conjunction.
*
* @return int The number of validators
* @todo Set to return type int as breaking change in v12.
*/
#[\ReturnTypeWillChange]
public function count()
{
return count($this->validators);
......
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