nextcloud/lib/public
Christoph Wurst cc0976aaa0 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:15:10 +00:00
..
Accounts Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Activity Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
App Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
AppFramework Add template typing to the QBMapper 2020-10-12 11:15:10 +00:00
Authentication Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
BackgroundJob Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Capabilities Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Command Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Comments Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Console Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Contacts contactsmanager shall limit number of results early 2020-08-03 13:18:14 +00:00
DB Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Dashboard Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Diagnostics Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
DirectEditing Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Encryption Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
EventDispatcher Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Federation Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Files Transfer shares of the transferred root node 2020-09-17 19:03:07 +02:00
Files_FullTextSearch/Model Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
FullTextSearch Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
GlobalScale Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Group Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Http/Client Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
L10N Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
LDAP Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Lock Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Lockdown Update license headers 2019-12-05 15:38:45 +01:00
Log Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Mail Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Migration Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Notification Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
OCS Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Preview Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Remote Update license headers 2019-12-05 15:38:45 +01:00
RichObjectStrings Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Route Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Search Update license headers for 19 2020-04-29 11:57:22 +02:00
Security Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Session/Exceptions Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings Add visibility to all constants 2020-04-10 16:54:27 +02:00
Share Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
User Update license headers for 19 2020-04-29 11:57:22 +02:00
WorkflowEngine Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
API.php Update license headers for 19 2020-04-29 11:57:22 +02:00
App.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AutoloadNotAllowedException.php Update license headers 2019-12-05 15:38:45 +01:00
BackgroundJob.php Update license headers 2019-12-05 15:38:45 +01:00
Constants.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Defaults.php Provide the proper language to the mailer 2020-04-16 09:04:13 +02:00
Files.php Update license headers for 19 2020-04-29 11:57:22 +02:00
GroupInterface.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IAddressBook.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IAppConfig.php Update license headers 2019-12-05 15:38:45 +01:00
IAvatar.php Update license headers 2019-12-05 15:38:45 +01:00
IAvatarManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ICache.php Update license headers 2019-12-05 15:38:45 +01:00
ICacheFactory.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
ICertificate.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
ICertificateManager.php Update license headers 2019-12-05 15:38:45 +01:00
IConfig.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IContainer.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IDBConnection.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IDateTimeFormatter.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IDateTimeZone.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IEventSource.php Update license headers 2019-12-05 15:38:45 +01:00
IGroup.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IGroupManager.php Remove wrongly annotated package names 2020-08-27 09:16:52 +02:00
IImage.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IInitialStateService.php Update license headers 2019-12-05 15:38:45 +01:00
IL10N.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
ILogger.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IMemcache.php Update license headers 2019-12-05 15:38:45 +01:00
IMemcacheTTL.php Update license headers 2019-12-05 15:38:45 +01:00
INavigationManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IPreview.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IRequest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ISearch.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IServerContainer.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
ISession.php Update license headers 2019-12-05 15:38:45 +01:00
ITagManager.php Fix multiline comments 2020-04-08 22:24:54 +02:00
ITags.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ITempManager.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IURLGenerator.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
IUser.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IUserBackend.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
IUserManager.php Remove wrongly annotated package names 2020-08-27 09:16:52 +02:00
IUserSession.php Update license headers 2019-12-05 15:38:45 +01:00
Image.php Update license headers 2019-12-05 15:38:45 +01:00
PreConditionNotMetException.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SabrePluginEvent.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SabrePluginException.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Share.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Share_Backend.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share_Backend_Collection.php Update license headers 2019-12-05 15:38:45 +01:00
Share_Backend_File_Dependent.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
User.php Update license headers 2019-12-05 15:38:45 +01:00
UserInterface.php Remove @package annotations from public namespace 2020-08-27 09:16:52 +02:00
Util.php Add visibility to all constants 2020-04-10 16:54:27 +02:00