Skip to content

Commit

Permalink
Merge pull request #581 from psr7-sessions/9.0.x-merge-up-into-9.1.x_…
Browse files Browse the repository at this point in the history
…6HKXWeDW

Merge release 9.0.1 into 9.1.x
  • Loading branch information
Slamdunk committed Jul 26, 2023
2 parents 0eeefd8 + eb78151 commit d4285db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Storageless/Http/Configuration.php
Expand Up @@ -98,7 +98,7 @@ public function getClientFingerprintConfiguration(): FingerprintConfig
public function withJwtConfiguration(JwtConfig $jwtConfiguration): self
{
$new = clone $this;
$new->jwtConfiguration = $jwtConfiguration;
$new->jwtConfiguration = clone $jwtConfiguration;

return $new;
}
Expand Down
2 changes: 1 addition & 1 deletion test/StoragelessTest/Http/ConfigurationTest.php
Expand Up @@ -94,7 +94,7 @@ public function testImmutability(): void
$jwtConfig = clone $this->jwtConfig;
$rightConfig = $leftConfig->withJwtConfiguration($jwtConfig);
self::assertNotSame($leftConfig, $rightConfig);
self::assertSame($jwtConfig, $rightConfig->getJwtConfiguration());
self::assertNotSame($jwtConfig, $rightConfig->getJwtConfiguration());

$clock = FrozenClock::fromUTC();
$leftConfig = $rightConfig->withClock($clock);
Expand Down

0 comments on commit d4285db

Please sign in to comment.