X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FPPFrame.php;h=51fc0b6689e617042400941e55fcaa35ae690e33;hp=79c7c3b30a84a0778a8e1668cb6223c22cbd9659;hb=fe7a8d9adff4682e9c89396504010c15c94909b0;hpb=b942fc27c93e54868298608698fe6b965907d33e diff --git a/includes/parser/PPFrame.php b/includes/parser/PPFrame.php index 79c7c3b30a..51fc0b6689 100644 --- a/includes/parser/PPFrame.php +++ b/includes/parser/PPFrame.php @@ -21,6 +21,9 @@ /** * @ingroup Parser + * + * @property int $depth + * @property PPFrame $parent */ interface PPFrame { const NO_ARGS = 1; @@ -68,37 +71,37 @@ interface PPFrame { * Implode with flags for expand() * @param string $sep * @param int $flags - * @param string|PPNode $args,... + * @param string|PPNode ...$params * @return string */ - public function implodeWithFlags( $sep, $flags /*, ... */ ); + public function implodeWithFlags( $sep, $flags, ...$params ); /** * Implode with no flags specified * @param string $sep - * @param string|PPNode $args,... + * @param string|PPNode ...$params * @return string */ - public function implode( $sep /*, ... */ ); + public function implode( $sep, ...$params ); /** * Makes an object that, when expand()ed, will be the same as one obtained * with implode() * @param string $sep - * @param string|PPNode $args,... + * @param string|PPNode ...$params * @return PPNode */ - public function virtualImplode( $sep /*, ... */ ); + public function virtualImplode( $sep, ...$params ); /** * Virtual implode with brackets * @param string $start * @param string $sep * @param string $end - * @param string|PPNode $args,... + * @param string|PPNode ...$params * @return PPNode */ - public function virtualBracketedImplode( $start, $sep, $end /*, ... */ ); + public function virtualBracketedImplode( $start, $sep, $end, ...$params ); /** * Returns true if there are no arguments in this frame