jenkins-bot has submitted this change and it was merged.
Change subject: phpcs: The final declaration must precede the visibility
declaration
......................................................................
phpcs: The final declaration must precede the visibility declaration
Change-Id: I33d3bba8f02f1a3e568db4c482088cf006dcb8eb
---
M includes/api/ApiBase.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index 3f84f2a..2935321 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -1042,7 +1042,7 @@
* @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] ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/170081
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I33d3bba8f02f1a3e568db4c482088cf006dcb8eb
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits