From 4d832cd4e3b430526249ee1853166eed83c7efa3 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 16 Apr 2018 11:47:11 +0200 Subject: Fixes false positive possible sql injection by phan Signed-off-by: Morris Jobke --- lib/private/Lock/DBLockingProvider.php | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3