Skip to content

Commit 2ad9fab

Browse files
Merge branch '6.0' into 6.1
* 6.0: [6.0] cs fixes [5.4] cs fixes [5.3] cs fixes [Cache] Fix saving items with no expiration through ProxyAdapter CS fixes fix merge Remove pointless assignment [HttpClient] Fix tracing requests made after calling withOptions() [Cache] disable lock on CLI Revert "feature #41989 [Cache] make `LockRegistry` use semaphores when possible (nicolas-grekas)" [HttpKernel] fix how configuring log-level and status-code by exception works [VarDumper] add more "transient-on-macos" groups
2 parents dd58ce2 + e821452 commit 2ad9fab

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Response.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,6 @@ public function setContent(?string $content): static
397397

398398
/**
399399
* Gets the current response content.
400-
*
401-
* @return string|false
402400
*/
403401
public function getContent(): string|false
404402
{

Session/Storage/Handler/PdoSessionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ protected function doRead(string $sessionId): string
582582
$selectStmt->bindParam(':id', $sessionId, \PDO::PARAM_STR);
583583
$insertStmt = null;
584584

585-
do {
585+
while (true) {
586586
$selectStmt->execute();
587587
$sessionRows = $selectStmt->fetchAll(\PDO::FETCH_NUM);
588588

@@ -628,7 +628,7 @@ protected function doRead(string $sessionId): string
628628
}
629629

630630
return '';
631-
} while (true);
631+
}
632632
}
633633

634634
/**

Session/Storage/NativeSessionStorage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ public function __construct(array $options = [], AbstractProxy|\SessionHandlerIn
112112

113113
/**
114114
* Gets the save handler instance.
115-
*
116-
* @return AbstractProxy|\SessionHandlerInterface
117115
*/
118116
public function getSaveHandler(): AbstractProxy|\SessionHandlerInterface
119117
{

0 commit comments

Comments
 (0)