Skip to content
Snippets Groups Projects
Commit d5043eb1 authored by Soren Malling's avatar Soren Malling Committed by Christian Kuhn
Browse files

[TASK] Return __toString value from objects in DataMapper::getPlainValue

See if a object is a instance of \Stringable aswell as a TypeInterface.

TypeInterface implements the __toString method but objects coming
from extension can rely on either implements \Stringable or
have the __toString method

Resolves: #102263
Releases: main, 12.4
Change-Id: I840492b0011b60abc3754f215695154c90b7e707
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81576


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 9c6bdf6d
Branches
Tags
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