Skip to content

Commit

Permalink
qa: remove SensitiveParameter from Redis##auth stub
Browse files Browse the repository at this point in the history
I was expecting that it might have a benefit regarding tentative types but it seems that psalm does not use that and thus was suggested to be removed.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed May 5, 2024
1 parent 3643ff7 commit 5ff68d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/extensions/redis.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Redis {
public function append(string $key, string $value) {}

/** @param array{string,string}|array{string}|string $credentials */
public function auth(#[\SensitiveParameter] mixed $credentials): bool {}
public function auth(mixed $credentials): bool {}

public function bgSave(): bool {}

Expand Down

0 comments on commit 5ff68d6

Please sign in to comment.