Skip to content

Commit

Permalink
Adjusted InMemoryTest to newest phpstan type inference improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Horikawaer authored and Ocramius committed Sep 3, 2025
1 parent db69bed commit 95da7cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/unit/Signer/Key/InMemoryTest.php
Expand Up @@ -51,10 +51,7 @@ public function exceptionShouldBeRaisedWhenInvalidBase64CharsAreUsed(): void
*/
public function base64EncodedShouldDecodeKeyContents(): void
{
$encoded = base64_encode('testing');
self::assertNotSame('', $encoded);

$key = InMemory::base64Encoded($encoded);
$key = InMemory::base64Encoded(base64_encode('testing'));

self::assertSame('testing', $key->contents());
}
Expand Down

0 comments on commit 95da7cc

Please sign in to comment.