summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-16 11:47:11 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-16 11:47:11 +0200
commit4d832cd4e3b430526249ee1853166eed83c7efa3 (patch)
tree8dc1ff23acd6a9ef7f2ff722ad7743063dff33bf /lib/private
parentdb8bcfc5f63518669ff608634042a5f454cda5a8 (diff)
downloadnextcloud-server-4d832cd4e3b430526249ee1853166eed83c7efa3.tar.gz
nextcloud-server-4d832cd4e3b430526249ee1853166eed83c7efa3.zip
Fixes false positive possible sql injection by phan
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Lock/DBLockingProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Lock/DBLockingProvider.php b/lib/private/Lock/DBLockingProvider.php
index 6538dcbc2ce..6adb7488217 100644
--- a/lib/private/Lock/DBLockingProvider.php
+++ b/lib/private/Lock/DBLockingProvider.php
@@ -210,6 +210,8 @@ class DBLockingProvider extends AbstractLockingProvider {
/**
* @param string $path
* @param int $type self::LOCK_SHARED or self::LOCK_EXCLUSIVE
+ *
+ * @suppress SqlInjectionChecker
*/
public function releaseLock(string $path, int $type) {
$this->markRelease($path, $type);