Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-16 16:53:51 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-09-16 16:53:56 +0300
commit99c9423766a01feff5f9fd6ef67153d45158dcd7 (patch)
tree87ef47f14f65440e5541f28caba7b5431cbb9bad /lib/public/AppFramework
parent04a3580d19ae505efd0ac31e4c419bf5dd701563 (diff)
Remove @suppress SqlInjectionChecker
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r--lib/public/AppFramework/Db/QBMapper.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php
index ebbe92e7875..f6009c5de87 100644
--- a/lib/public/AppFramework/Db/QBMapper.php
+++ b/lib/public/AppFramework/Db/QBMapper.php
@@ -106,7 +106,6 @@ 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
@@ -145,7 +144,6 @@ abstract class QBMapper {
* @return Entity the saved entity with the (new) id
* @throws \InvalidArgumentException if entity has no id
* @since 15.0.0
- * @suppress SqlInjectionChecker
*/
public function insertOrUpdate(Entity $entity): Entity {
try {
@@ -161,7 +159,6 @@ 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