Merge pull request #9200 from nextcloud/fix-invalid-phan-detection

Fixes false positive possible sql injection by phan
This commit is contained in:
blizzz 2018-04-16 13:19:26 +02:00 committed by GitHub
commit 056660bf7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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);