Skip to content

Commit bb54096

Browse files
Add return type to ResetInterface implementations (#1371)
1 parent 171a683 commit bb54096

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Credentials/CacheProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getCredentials(Configuration $configuration): ?Credentials
3838
return $this->cache[$key];
3939
}
4040

41-
public function reset()
41+
public function reset(): void
4242
{
4343
$this->cache = [];
4444
}

src/Credentials/ChainProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function getCredentials(Configuration $configuration): ?Credentials
6060
return null;
6161
}
6262

63-
public function reset()
63+
public function reset(): void
6464
{
6565
$this->lastSuccessfulProvider = [];
6666
}

0 commit comments

Comments
 (0)