nextcloud/lib/public/AppFramework
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
..
Bootstrap Move initial state provider to boostrap 2020-10-04 09:35:33 +02:00
Db Add template typing to the QBMapper 2020-10-12 11:10:08 +02:00
Http Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
OCS Remove @package annotations from public namespace 2020-08-26 16:59:40 +02:00
Services Move initial state provider to boostrap 2020-10-04 09:35:33 +02:00
Utility Remove @package annotations from public namespace 2020-08-26 16:59:40 +02:00
ApiController.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
App.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AuthPublicShareController.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Controller.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Http.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IAppContainer.php Undeprecate IAppContainer and IServerContainer 2020-07-17 10:17:18 +02:00
Middleware.php Update license headers for 19 2020-04-29 11:57:22 +02:00
OCSController.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
PublicShareController.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
QueryException.php Remove @package annotations from public namespace 2020-08-26 16:59:40 +02:00