dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unsuppress phan issues part 6
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryBacklinks.php
diff --git
a/includes/api/ApiQueryBacklinks.php
b/includes/api/ApiQueryBacklinks.php
index
f82a559
..
6c1eb0f
100644
(file)
--- a/
includes/api/ApiQueryBacklinks.php
+++ b/
includes/api/ApiQueryBacklinks.php
@@
-35,7
+35,10
@@
class ApiQueryBacklinks extends ApiQueryGeneratorBase {
*/
private $rootTitle;
*/
private $rootTitle;
- private $params, $cont, $redirect;
+ private $params;
+ /** @var array */
+ private $cont;
+ private $redirect;
private $bl_ns, $bl_from, $bl_from_ns, $bl_table, $bl_code, $bl_title, $bl_fields, $hasNS;
/**
private $bl_ns, $bl_from, $bl_from_ns, $bl_table, $bl_code, $bl_title, $bl_fields, $hasNS;
/**
@@
-306,7
+309,7
@@
class ApiQueryBacklinks extends ApiQueryGeneratorBase {
}
if ( is_null( $resultPageSet ) ) {
}
if ( is_null( $resultPageSet ) ) {
- $a
['pageid'] = (int)$row->page_id
;
+ $a
= [ 'pageid' => (int)$row->page_id ]
;
ApiQueryBase::addTitleInfo( $a, Title::makeTitle( $row->page_namespace, $row->page_title ) );
if ( $row->page_is_redirect ) {
$a['redirect'] = true;
ApiQueryBase::addTitleInfo( $a, Title::makeTitle( $row->page_namespace, $row->page_title ) );
if ( $row->page_is_redirect ) {
$a['redirect'] = true;
@@
-323,6
+326,7
@@
class ApiQueryBacklinks extends ApiQueryGeneratorBase {
/**
* @param ApiPageSet $resultPageSet
* @return void
/**
* @param ApiPageSet $resultPageSet
* @return void
+ * @suppress PhanTypeInvalidDimOffset
*/
private function run( $resultPageSet = null ) {
$this->params = $this->extractRequestParams( false );
*/
private function run( $resultPageSet = null ) {
$this->params = $this->extractRequestParams( false );