--- a/wp/wp-includes/html-api/class-wp-html-text-replacement.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/html-api/class-wp-html-text-replacement.php Fri Sep 05 18:52:52 2025 +0200
@@ -56,7 +56,7 @@
* @param int $length Byte length of span in document being replaced.
* @param string $text Span of text to insert in document to replace existing content from start to end.
*/
- public function __construct( $start, $length, $text ) {
+ public function __construct( int $start, int $length, string $text ) {
$this->start = $start;
$this->length = $length;
$this->text = $text;