nextcloud/lib
Christoph Wurst a1b351036c
Add template typing to the QBMapper
The QBMapper is kind of a generic type, though this concept does not
exist in php. Hence you have a lot of type coercion in subtypes (mappers
in the individual apps) because you suddenly don't expect an Entity[]
but your specific type.

Luckily Psalm lets us type those. Then in the subclass you can
psalm-implement the mapper with a concrete type and psalm will do all
the magic to ensure types are used correctly.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 11:10:08 +02:00
..
composer Add cleanup job for old brutefoce attempts 2020-10-08 19:51:13 +02:00
l10n [tx-robot] updated from transifex 2020-10-09 02:18:45 +00:00
private Merge pull request #23249 from nextcloud/techdebt/server-container-cleanup 2020-10-09 09:19:41 +02:00
public Add template typing to the QBMapper 2020-10-12 11:10:08 +02:00
autoloader.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
base.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
versioncheck.php Allow to also use PHP 8.0 2020-09-18 09:16:30 +02:00