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
Ocramius committed Sep 2, 2022
1 parent a2ec0bb commit 15745b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/unit/Signer/Key/InMemoryTest.php
Original file line number Diff line number Diff line change
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 15745b7

Please sign in to comment.