--- a/wp/wp-includes/html-api/class-wp-html-stack-event.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/html-api/class-wp-html-stack-event.php Fri Sep 05 18:52:52 2025 +0200
@@ -74,7 +74,7 @@
* @param string $operation One of self::PUSH or self::POP.
* @param string $provenance "virtual" or "real".
*/
- public function __construct( $token, $operation, $provenance ) {
+ public function __construct( WP_HTML_Token $token, string $operation, string $provenance ) {
$this->token = $token;
$this->operation = $operation;
$this->provenance = $provenance;