X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=45bae28249cc530d45d32c31a4239dc59693891c;hb=1c68a1ee86e051adbab747eacade5de39ec148ba;hp=aaabec92911a154cb6d5586099b5a41ec9e5e65b;hpb=c825102577e9552f37b94ae5c74a148dd6acf158;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index aaabec9291..45bae28249 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -1104,13 +1104,13 @@ class Block { * - Other softblocks are chosen over autoblocks * - If there are multiple exact or range blocks at the same level, the one chosen * is random - + * * @param array $ipChain List of IPs (strings). This is used to determine how "close" * a block is to the server, and if a block matches exactly, or is in a range. * The order is furthest from the server to nearest e.g., (Browser, proxy1, proxy2, * local-squid, ...) * @param array $block Array of blocks - * @return Block|null the "best" block from the list + * @return Block|null The "best" block from the list */ public static function chooseBlock( array $blocks, array $ipChain ) { if ( !count( $blocks ) ) {