Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/phpunit/test-wp-secrets-memzero.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function test_leaves_non_string_values_untouched(): void {

wp_secrets_memzero( $value ); // @phpstan-ignore argument.type (Intentionally passing a non-string value.)

$this->assertSame( 42, $value ); // @phpstan-ignore method.impossibleType (The by-reference parameter is documented as a string; this checks a non-string comes back untouched.)
$this->assertSame( 42, $value );
}

public function test_leaves_an_empty_string_untouched(): void {
Expand Down
Loading