From 30898dbd9f4f0bfa0791c2f203ac14e960a3c2c2 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 30 Oct 2014 17:54:07 +0100 Subject: [PATCH] phpcs: The final declaration must precede the visibility declaration Change-Id: I33d3bba8f02f1a3e568db4c482088cf006dcb8eb --- includes/api/ApiBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] ) ) { -- 2.20.1