wp/wp-includes/html-api/class-wp-html-stack-event.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
    72 	 *
    72 	 *
    73 	 * @param WP_HTML_Token $token      Token associated with stack event, always an opening token.
    73 	 * @param WP_HTML_Token $token      Token associated with stack event, always an opening token.
    74 	 * @param string        $operation  One of self::PUSH or self::POP.
    74 	 * @param string        $operation  One of self::PUSH or self::POP.
    75 	 * @param string        $provenance "virtual" or "real".
    75 	 * @param string        $provenance "virtual" or "real".
    76 	 */
    76 	 */
    77 	public function __construct( $token, $operation, $provenance ) {
    77 	public function __construct( WP_HTML_Token $token, string $operation, string $provenance ) {
    78 		$this->token      = $token;
    78 		$this->token      = $token;
    79 		$this->operation  = $operation;
    79 		$this->operation  = $operation;
    80 		$this->provenance = $provenance;
    80 		$this->provenance = $provenance;
    81 	}
    81 	}
    82 }
    82 }