Skip to content

Commit 763339e

Browse files
committed
Annotate non-empty-string
1 parent f3d1724 commit 763339e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/wp-includes/html-api/class-wp-html-tag-processor.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,6 +2216,7 @@ private function parse_all_attributes(): void {
22162216
}
22172217

22182218
$attribute_start = $this->bytes_already_parsed;
2219+
/** @phpstan-var non-empty-string $attribute_name */
22192220
$attribute_name = substr( $this->html, $attribute_start, $name_length );
22202221
$this->bytes_already_parsed += $name_length;
22212222

0 commit comments

Comments
 (0)