dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
28e37f5
)
Merge "phpcs: The final declaration must precede the visibility declaration"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 27 Nov 2014 05:17:09 +0000
(
05:17
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 27 Nov 2014 05:17:09 +0000
(
05:17
+0000)
includes/api/ApiBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
ee5861d
..
f9960d8
100644
(file)
--- 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] ) ) {