X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilebackend%2Flockmanager%2FScopedLock.php;h=b35b934abe878901ea8411974e210919dc72da00;hb=05506ae70dc7e41bd539d98a551ce477d49c8c2b;hp=5faad4a64468e703ed9e2d0da8544172be6aedf0;hpb=94f26422ef97a30e602d99c083cd525dbbaa4f6a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filebackend/lockmanager/ScopedLock.php b/includes/filebackend/lockmanager/ScopedLock.php index 5faad4a644..b35b934abe 100644 --- a/includes/filebackend/lockmanager/ScopedLock.php +++ b/includes/filebackend/lockmanager/ScopedLock.php @@ -74,6 +74,7 @@ class ScopedLock { if ( $lockStatus->isOK() ) { return new self( $manager, $pathsByType, $status ); } + return null; }