X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fparser%2FPPFrame.php;h=b50fcfce051487bd5a9591ae8df1d52cc47e7cd3;hp=79c7c3b30a84a0778a8e1668cb6223c22cbd9659;hb=54c93f1d384cd5accd2db2ebbb911e4d627c2980;hpb=8b5b49cb6d8c9df839b7d6bc70590b040cc4ebda diff --git a/includes/parser/PPFrame.php b/includes/parser/PPFrame.php index 79c7c3b30a..b50fcfce05 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; @@ -69,6 +72,7 @@ interface PPFrame { * @param string $sep * @param int $flags * @param string|PPNode $args,... + * @suppress PhanCommentParamWithoutRealParam HHVM bug T228695#5450847 * @return string */ public function implodeWithFlags( $sep, $flags /*, ... */ ); @@ -77,6 +81,7 @@ interface PPFrame { * Implode with no flags specified * @param string $sep * @param string|PPNode $args,... + * @suppress PhanCommentParamWithoutRealParam HHVM bug T228695#5450847 * @return string */ public function implode( $sep /*, ... */ ); @@ -85,20 +90,22 @@ interface PPFrame { * 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 ...$args + * @suppress PhanCommentParamWithoutRealParam HHVM bug T228695#5450847 * @return PPNode */ - public function virtualImplode( $sep /*, ... */ ); + public function virtualImplode( $sep /* ...$args */ ); /** * Virtual implode with brackets * @param string $start * @param string $sep * @param string $end - * @param string|PPNode $args,... + * @param string|PPNode ...$args + * @suppress PhanCommentParamWithoutRealParam HHVM bug T228695#5450847 * @return PPNode */ - public function virtualBracketedImplode( $start, $sep, $end /*, ... */ ); + public function virtualBracketedImplode( $start, $sep, $end /* ...$args */ ); /** * Returns true if there are no arguments in this frame