diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php index b8ebd379b4..dbc47d2d43 100644 --- a/lib/public/AppFramework/Db/QBMapper.php +++ b/lib/public/AppFramework/Db/QBMapper.php @@ -131,6 +131,7 @@ abstract class QBMapper { * * @param Entity $entity the entity that should be created/updated * @return Entity the saved entity with the (new) id + * @throws \InvalidArgumentException if entity has no id * @since 15.0.0 * @suppress SqlInjectionChecker */