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
Merge "Fix use of GenderCache in ApiPageSet::processTitlesArray"
[lhc/web/wiklou.git]
/
includes
/
block
/
Restriction
/
PageRestriction.php
diff --git
a/includes/block/Restriction/PageRestriction.php
b/includes/block/Restriction/PageRestriction.php
index
45aab46
..
78d6722
100644
(file)
--- a/
includes/block/Restriction/PageRestriction.php
+++ b/
includes/block/Restriction/PageRestriction.php
@@
-87,7
+87,9
@@
class PageRestriction extends AbstractRestriction {
* @inheritDoc
*/
public static function newFromRow( \stdClass $row ) {
* @inheritDoc
*/
public static function newFromRow( \stdClass $row ) {
+ /** @var self $restriction */
$restriction = parent::newFromRow( $row );
$restriction = parent::newFromRow( $row );
+ '@phan-var self $restriction';
// If the page_namespace and the page_title were provided, add the title to
// the restriction.
// If the page_namespace and the page_title were provided, add the title to
// the restriction.