Skip to content

Commit fdc9db8

Browse files
t-hamanoclaude
andcommitted
Icons: Declare string parameter types on test_sanitize_inline_svg()
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f278e66 commit fdc9db8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎phpunit/class-wp-icons-registry-gutenberg-test.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ public function test_register_icon_without_content_or_file_path() {
472472
* @param string $input The icon content to sanitize.
473473
* @param string $expected The expected sanitized output.
474474
*/
475-
public function test_sanitize_inline_svg( $input, $expected ) {
475+
public function test_sanitize_inline_svg( string $input, string $expected ) {
476476
$sanitized = $this->sanitize_inline_svg( $input );
477477
$this->assertSame( $expected, $sanitized );
478478
}

0 commit comments

Comments
 (0)