Skip to content

Commit 7cab23c

Browse files
authored
Bump CStools (#926)
1 parent e0a6c4b commit 7cab23c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/AwsError/AwsErrorFactory.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ public static function createFromContent(string $content, array $headers): AwsEr
2828
return self::parseJson($body, $headers);
2929
}
3030

31-
set_error_handler(
32-
static function ($errno, $errstr, $errfile, $errline) {
33-
throw new RuntimeException($errstr, $errno);
34-
}
35-
);
31+
/** @phpstan-ignore-next-line */
32+
set_error_handler(static function ($errno, $errstr) {
33+
throw new RuntimeException($errstr, $errno);
34+
});
3635

3736
try {
3837
$xml = new \SimpleXMLElement($content);

src/Credentials/PsrCacheProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function getCredentials(Configuration $configuration): ?Credentials
4545
}
4646

4747
/**
48-
* @throws \Psr\Cache\CacheException
48+
* @throws CacheException
4949
*/
5050
private function getFromCache(Configuration $configuration): ?Credentials
5151
{

0 commit comments

Comments
 (0)