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 another phan issue (part 7)
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTagsList.php
diff --git
a/includes/changetags/ChangeTagsList.php
b/includes/changetags/ChangeTagsList.php
index
afbbb2b
..
fc53d13
100644
(file)
--- a/
includes/changetags/ChangeTagsList.php
+++ b/
includes/changetags/ChangeTagsList.php
@@
-21,6
+21,12
@@
/**
* Generic list for change tagging.
/**
* Generic list for change tagging.
+ *
+ * @property ChangeTagsLogItem $current
+ * @method ChangeTagsLogItem next()
+ * @method ChangeTagsLogItem reset()
+ * @method ChangeTagsLogItem current()
+ * @phan-file-suppress PhanParamSignatureMismatch
*/
abstract class ChangeTagsList extends RevisionListBase {
function __construct( IContextSource $context, Title $title, array $ids ) {
*/
abstract class ChangeTagsList extends RevisionListBase {
function __construct( IContextSource $context, Title $title, array $ids ) {
@@
-43,10
+49,10
@@
abstract class ChangeTagsList extends RevisionListBase {
) {
switch ( $typeName ) {
case 'revision':
) {
switch ( $typeName ) {
case 'revision':
- $className =
'ChangeTagsRevisionList'
;
+ $className =
ChangeTagsRevisionList::class
;
break;
case 'logentry':
break;
case 'logentry':
- $className =
'ChangeTagsLogList'
;
+ $className =
ChangeTagsLogList::class
;
break;
default:
throw new Exception( "Class $typeName requested, but does not exist" );
break;
default:
throw new Exception( "Class $typeName requested, but does not exist" );
@@
-68,7
+74,7
@@
abstract class ChangeTagsList extends RevisionListBase {
*
* @param array $tagsToAdd
* @param array $tagsToRemove
*
* @param array $tagsToAdd
* @param array $tagsToRemove
- * @param
array
$params
+ * @param
string|null
$params
* @param string $reason
* @param User $user
* @return Status
* @param string $reason
* @param User $user
* @return Status