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
Use varargs for MessageLocalizer::msg and similar
[lhc/web/wiklou.git]
/
includes
/
parser
/
PPDPart_Hash.php
diff --git
a/includes/parser/PPDPart_Hash.php
b/includes/parser/PPDPart_Hash.php
index
7507f06
..
597f851
100644
(file)
--- a/
includes/parser/PPDPart_Hash.php
+++ b/
includes/parser/PPDPart_Hash.php
@@
-21,16
+21,21
@@
/**
* @ingroup Parser
/**
* @ingroup Parser
+ * @property string[] $out
*/
// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
class PPDPart_Hash extends PPDPart {
*/
// phpcs:ignore Squiz.Classes.ValidClassName.NotCamelCaps
class PPDPart_Hash extends PPDPart {
+ /**
+ * @param string $out
+ */
public function __construct( $out = '' ) {
if ( $out !== '' ) {
$accum = [ $out ];
} else {
$accum = [];
}
public function __construct( $out = '' ) {
if ( $out !== '' ) {
$accum = [ $out ];
} else {
$accum = [];
}
+ // @phan-suppress-next-line PhanTypeMismatchArgument
parent::__construct( $accum );
}
}
parent::__construct( $accum );
}
}