Merge pull request #9200 from nextcloud/fix-invalid-phan-detection
Fixes false positive possible sql injection by phan
This commit is contained in:
commit
056660bf7c
|
@ -210,6 +210,8 @@ class DBLockingProvider extends AbstractLockingProvider {
|
||||||
/**
|
/**
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param int $type self::LOCK_SHARED or self::LOCK_EXCLUSIVE
|
* @param int $type self::LOCK_SHARED or self::LOCK_EXCLUSIVE
|
||||||
|
*
|
||||||
|
* @suppress SqlInjectionChecker
|
||||||
*/
|
*/
|
||||||
public function releaseLock(string $path, int $type) {
|
public function releaseLock(string $path, int $type) {
|
||||||
$this->markRelease($path, $type);
|
$this->markRelease($path, $type);
|
||||||
|
|
Loading…
Reference in New Issue