summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Db
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-14 14:46:33 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-14 14:46:33 +0200
commited7b4839d9ac543799e291ad2d338db559c86354 (patch)
tree66dc43e74194f6f9464c71c43bfd5c00ef16b7d5 /lib/public/AppFramework/Db
parent610c66520ba1d498d327158a377dc150bfa1b388 (diff)
downloadnextcloud-server-ed7b4839d9ac543799e291ad2d338db559c86354.tar.gz
nextcloud-server-ed7b4839d9ac543799e291ad2d338db559c86354.zip
The column is not user input so suppress the phan warning
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/AppFramework/Db')
-rw-r--r--lib/public/AppFramework/Db/QBMapper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php
index 0eaa7601f20..a9b38732a30 100644
--- a/lib/public/AppFramework/Db/QBMapper.php
+++ b/lib/public/AppFramework/Db/QBMapper.php
@@ -97,6 +97,7 @@ abstract class QBMapper {
* @param Entity $entity the entity that should be created
* @return Entity the saved entity with the set id
* @since 14.0.0
+ * @suppress SqlInjectionChecker
*/
public function insert(Entity $entity): Entity {
// get updated fields to save, fields have to be set using a setter to
@@ -130,6 +131,7 @@ abstract class QBMapper {
* @param Entity $entity the entity that should be created
* @return Entity the saved entity with the set id
* @since 14.0.0
+ * @suppress SqlInjectionChecker
*/
public function update(Entity $entity): Entity {
// if entity wasn't changed it makes no sense to run a db query