From: umherirrender Date: Thu, 30 Oct 2014 16:54:07 +0000 (+0100) Subject: phpcs: The final declaration must precede the visibility declaration X-Git-Tag: 1.31.0-rc.0~13159^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=30898dbd9f4f0bfa0791c2f203ac14e960a3c2c2;p=lhc%2Fweb%2Fwiklou.git phpcs: The final declaration must precede the visibility declaration Change-Id: I33d3bba8f02f1a3e568db4c482088cf006dcb8eb --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 3f84f2a786..2935321ce3 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1042,7 +1042,7 @@ abstract class ApiBase extends ContextSource { * @param array $params All supplied parameters for the module * @return bool */ - public final function validateToken( $token, array $params ) { + final public function validateToken( $token, array $params ) { $tokenType = $this->needsToken(); $salts = ApiQueryTokens::getTokenTypeSalts(); if ( !isset( $salts[$tokenType] ) ) {