Merge "User: support setting custom fields + array autocreation in non-existent field"
[lhc/web/wiklou.git] / includes / libs / lockmanager / ScopedLock.php
index 6261335..d877db0 100644 (file)
@@ -85,7 +85,7 @@ class ScopedLock {
         * This is useful for early release of locks before function scope is destroyed.
         * This is the same as setting the lock object to null.
         *
-        * @param ScopedLock &$lock
+        * @param ScopedLock|null &$lock
         * @since 1.21
         */
        public static function release( ScopedLock &$lock = null ) {