Skip to content
Snippets Groups Projects
Commit 238568cc authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Nikita Hovratov
Browse files

[TASK] Simplify DataMapper::thawProperties()

The process of thawing properties didn't properly distinguish
between thawing types (int|float|object etc.) and thawing objects.

This has been mitigated by first using a match statement on the
built in type and handling different types of classes in a separate
method.

It's easier to read, maintain and extend.

Releases: main
Resolves: #101405
Change-Id: If85abd7fad12dc97b80b406d26aa528da4bc1588
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80107


Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 7182d688
Branches
Tags
No related merge requests found
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