dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05a7fae
)
phpcs: The final declaration must precede the visibility declaration
author
umherirrender
<umherirrender_de.wp@web.de>
Thu, 30 Oct 2014 16:54:07 +0000
(17:54 +0100)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Sat, 22 Nov 2014 08:23:11 +0000
(08:23 +0000)
Change-Id: I33d3bba8f02f1a3e568db4c482088cf006dcb8eb
includes/api/ApiBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
3f84f2a
..
2935321
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] ) ) {