diff options
Diffstat (limited to 'lib/public/AppFramework/Db')
-rw-r--r-- | lib/public/AppFramework/Db/IMapperException.php | 2 | ||||
-rw-r--r-- | lib/public/AppFramework/Db/QBMapper.php | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/public/AppFramework/Db/IMapperException.php b/lib/public/AppFramework/Db/IMapperException.php index a4af3cfa925..5381579d2a3 100644 --- a/lib/public/AppFramework/Db/IMapperException.php +++ b/lib/public/AppFramework/Db/IMapperException.php @@ -29,5 +29,5 @@ namespace OCP\AppFramework\Db; /** * @since 16.0.0 */ -interface IMapperException { +interface IMapperException extends \Throwable { } diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php index 57f4cba2ff5..cbe3d39d4d7 100644 --- a/lib/public/AppFramework/Db/QBMapper.php +++ b/lib/public/AppFramework/Db/QBMapper.php @@ -55,8 +55,7 @@ abstract class QBMapper { /** * @param IDBConnection $db Instance of the Db abstraction layer * @param string $tableName the name of the table. set this to allow entity - * @param string|null $entityClass the name of the entity that the sql should be - * @psalm-param class-string<T>|null $entityClass the name of the entity that the sql should be + * @param class-string<T>|null $entityClass the name of the entity that the sql should be * mapped to queries without using sql * @since 14.0.0 */ |