aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-04-16 13:19:26 +0200
committerGitHub <noreply@github.com>2018-04-16 13:19:26 +0200
commit056660bf7ce0e587be7276e640e424280ff66804 (patch)
tree8dc1ff23acd6a9ef7f2ff722ad7743063dff33bf
parentdb8bcfc5f63518669ff608634042a5f454cda5a8 (diff)
parent4d832cd4e3b430526249ee1853166eed83c7efa3 (diff)
downloadnextcloud-server-056660bf7ce0e587be7276e640e424280ff66804.tar.gz
nextcloud-server-056660bf7ce0e587be7276e640e424280ff66804.zip
Merge pull request #9200 from nextcloud/fix-invalid-phan-detection
Fixes false positive possible sql injection by phan
-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);