Reduce contention of getScopedLockAndFlush() callers by using the DB domain in the key
[lhc/web/wiklou.git] / includes / EditPage.php
index e4adb48..d27ef9c 100644 (file)
@@ -4130,7 +4130,7 @@ ERROR;
 
                if ( !Hooks::run( 'EditPageBeforeEditToolbar', [ &$toolbar ] ) ) {
                        return null;
-               };
+               }
                // Don't add a pointless `<div>` to the page unless a hook caller populated it
                return ( $toolbar === $startingToolbar ) ? null : $toolbar;
        }