phpcs: The final declaration must precede the visibility declaration
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 30 Oct 2014 16:54:07 +0000 (17:54 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 22 Nov 2014 08:23:11 +0000 (08:23 +0000)
Change-Id: I33d3bba8f02f1a3e568db4c482088cf006dcb8eb

includes/api/ApiBase.php

index 3f84f2a..2935321 100644 (file)
@@ -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] ) ) {