Browse Source
The column is not user input so suppress the phan warning
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/9444/head
Roeland Jago Douma
8 years ago
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with
2 additions and
0 deletions
-
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
|
|
|
|
|