@@ -7102,94 +7102,94 @@ index 9d7012de35..545339d4ef 100644
7102
7102
{
7103
7103
unset($this->parameters[$key]);
7104
7104
diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php
7105
- index a6650c49a3..2d5eb50ab4 100644
7105
+ index cf7e56f13e..e07d5fab79 100644
7106
7106
--- a/src/Symfony/Component/HttpFoundation/Request.php
7107
7107
+++ b/src/Symfony/Component/HttpFoundation/Request.php
7108
- @@ -267 ,5 +267 ,5 @@ class Request
7108
+ @@ -269 ,5 +269 ,5 @@ class Request
7109
7109
* @return void
7110
7110
*/
7111
7111
- public function initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null)
7112
7112
+ public function initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null): void
7113
7113
{
7114
7114
$this->request = new InputBag($request);
7115
- @@ -427 ,5 +427 ,5 @@ class Request
7115
+ @@ -429 ,5 +429 ,5 @@ class Request
7116
7116
* @return void
7117
7117
*/
7118
7118
- public static function setFactory(?callable $callable)
7119
7119
+ public static function setFactory(?callable $callable): void
7120
7120
{
7121
7121
self::$requestFactory = $callable;
7122
- @@ -533 ,5 +533 ,5 @@ class Request
7122
+ @@ -535 ,5 +535 ,5 @@ class Request
7123
7123
* @return void
7124
7124
*/
7125
7125
- public function overrideGlobals()
7126
7126
+ public function overrideGlobals(): void
7127
7127
{
7128
7128
$this->server->set('QUERY_STRING', static::normalizeQueryString(http_build_query($this->query->all(), '', '&')));
7129
- @@ -575 ,5 +575 ,5 @@ class Request
7129
+ @@ -577 ,5 +577 ,5 @@ class Request
7130
7130
* @return void
7131
7131
*/
7132
7132
- public static function setTrustedProxies(array $proxies, int $trustedHeaderSet)
7133
7133
+ public static function setTrustedProxies(array $proxies, int $trustedHeaderSet): void
7134
7134
{
7135
7135
self::$trustedProxies = array_reduce($proxies, function ($proxies, $proxy) {
7136
- @@ -618 ,5 +618 ,5 @@ class Request
7136
+ @@ -620 ,5 +620 ,5 @@ class Request
7137
7137
* @return void
7138
7138
*/
7139
7139
- public static function setTrustedHosts(array $hostPatterns)
7140
7140
+ public static function setTrustedHosts(array $hostPatterns): void
7141
7141
{
7142
7142
self::$trustedHostPatterns = array_map(fn ($hostPattern) => sprintf('{%s}i', $hostPattern), $hostPatterns);
7143
- @@ -666 ,5 +666 ,5 @@ class Request
7143
+ @@ -668 ,5 +668 ,5 @@ class Request
7144
7144
* @return void
7145
7145
*/
7146
7146
- public static function enableHttpMethodParameterOverride()
7147
7147
+ public static function enableHttpMethodParameterOverride(): void
7148
7148
{
7149
7149
self::$httpMethodParameterOverride = true;
7150
- @@ -753 ,5 +753 ,5 @@ class Request
7150
+ @@ -755 ,5 +755 ,5 @@ class Request
7151
7151
* @return void
7152
7152
*/
7153
7153
- public function setSession(SessionInterface $session)
7154
7154
+ public function setSession(SessionInterface $session): void
7155
7155
{
7156
7156
$this->session = $session;
7157
- @@ -1176 ,5 +1176 ,5 @@ class Request
7157
+ @@ -1178 ,5 +1178 ,5 @@ class Request
7158
7158
* @return void
7159
7159
*/
7160
7160
- public function setMethod(string $method)
7161
7161
+ public function setMethod(string $method): void
7162
7162
{
7163
7163
$this->method = null;
7164
- @@ -1299 ,5 +1299 ,5 @@ class Request
7164
+ @@ -1301 ,5 +1301 ,5 @@ class Request
7165
7165
* @return void
7166
7166
*/
7167
7167
- public function setFormat(?string $format, string|array $mimeTypes)
7168
7168
+ public function setFormat(?string $format, string|array $mimeTypes): void
7169
7169
{
7170
7170
if (null === static::$formats) {
7171
- @@ -1331 ,5 +1331 ,5 @@ class Request
7171
+ @@ -1333 ,5 +1333 ,5 @@ class Request
7172
7172
* @return void
7173
7173
*/
7174
7174
- public function setRequestFormat(?string $format)
7175
7175
+ public function setRequestFormat(?string $format): void
7176
7176
{
7177
7177
$this->format = $format;
7178
- @@ -1363 ,5 +1363 ,5 @@ class Request
7178
+ @@ -1365 ,5 +1365 ,5 @@ class Request
7179
7179
* @return void
7180
7180
*/
7181
7181
- public function setDefaultLocale(string $locale)
7182
7182
+ public function setDefaultLocale(string $locale): void
7183
7183
{
7184
7184
$this->defaultLocale = $locale;
7185
- @@ -1385 ,5 +1385 ,5 @@ class Request
7185
+ @@ -1387 ,5 +1387 ,5 @@ class Request
7186
7186
* @return void
7187
7187
*/
7188
7188
- public function setLocale(string $locale)
7189
7189
+ public function setLocale(string $locale): void
7190
7190
{
7191
7191
$this->setPhpDefaultLocale($this->locale = $locale);
7192
- @@ -1900 ,5 +1900 ,5 @@ class Request
7192
+ @@ -1904 ,5 +1904 ,5 @@ class Request
7193
7193
* @return void
7194
7194
*/
7195
7195
- protected static function initializeFormats()
@@ -9050,6 +9050,26 @@ index 7e535ebde1..ebb3df9b2b 100644
9050
9050
+ public function onCheckPassport(CheckPassportEvent $event): void
9051
9051
{
9052
9052
$passport = $event->getPassport();
9053
+ diff --git a/src/Symfony/Component/Lock/BlockingSharedLockStoreInterface.php b/src/Symfony/Component/Lock/BlockingSharedLockStoreInterface.php
9054
+ index 6929206c42..f2494e1061 100644
9055
+ --- a/src/Symfony/Component/Lock/BlockingSharedLockStoreInterface.php
9056
+ +++ b/src/Symfony/Component/Lock/BlockingSharedLockStoreInterface.php
9057
+ @@ -26,4 +26,4 @@ interface BlockingSharedLockStoreInterface extends SharedLockStoreInterface
9058
+ * @throws LockConflictedException
9059
+ */
9060
+ - public function waitAndSaveRead(Key $key);
9061
+ + public function waitAndSaveRead(Key $key): void;
9062
+ }
9063
+ diff --git a/src/Symfony/Component/Lock/BlockingStoreInterface.php b/src/Symfony/Component/Lock/BlockingStoreInterface.php
9064
+ index 8a84272a8b..e22fac0538 100644
9065
+ --- a/src/Symfony/Component/Lock/BlockingStoreInterface.php
9066
+ +++ b/src/Symfony/Component/Lock/BlockingStoreInterface.php
9067
+ @@ -26,4 +26,4 @@ interface BlockingStoreInterface extends PersistingStoreInterface
9068
+ * @throws LockConflictedException
9069
+ */
9070
+ - public function waitAndSave(Key $key);
9071
+ + public function waitAndSave(Key $key): void;
9072
+ }
9053
9073
diff --git a/src/Symfony/Component/Lock/LockFactory.php b/src/Symfony/Component/Lock/LockFactory.php
9054
9074
index 125b6eae50..ac327e8981 100644
9055
9075
--- a/src/Symfony/Component/Lock/LockFactory.php
@@ -9068,6 +9088,58 @@ index 125b6eae50..ac327e8981 100644
9068
9088
+ public function createLockFromKey(Key $key, ?float $ttl = 300.0, bool $autoRelease = true): SharedLockInterface
9069
9089
{
9070
9090
$lock = new Lock($key, $this->store, $ttl, $autoRelease);
9091
+ diff --git a/src/Symfony/Component/Lock/LockInterface.php b/src/Symfony/Component/Lock/LockInterface.php
9092
+ index 8ff806497c..991252e453 100644
9093
+ --- a/src/Symfony/Component/Lock/LockInterface.php
9094
+ +++ b/src/Symfony/Component/Lock/LockInterface.php
9095
+ @@ -42,5 +42,5 @@ interface LockInterface
9096
+ * @throws LockAcquiringException If the lock cannot be refreshed
9097
+ */
9098
+ - public function refresh(float $ttl = null);
9099
+ + public function refresh(float $ttl = null): void;
9100
+
9101
+ /**
9102
+ @@ -56,5 +56,5 @@ interface LockInterface
9103
+ * @throws LockReleasingException If the lock cannot be released
9104
+ */
9105
+ - public function release();
9106
+ + public function release(): void;
9107
+
9108
+ public function isExpired(): bool;
9109
+ diff --git a/src/Symfony/Component/Lock/PersistingStoreInterface.php b/src/Symfony/Component/Lock/PersistingStoreInterface.php
9110
+ index 10af48c5e6..392446a56a 100644
9111
+ --- a/src/Symfony/Component/Lock/PersistingStoreInterface.php
9112
+ +++ b/src/Symfony/Component/Lock/PersistingStoreInterface.php
9113
+ @@ -29,5 +29,5 @@ interface PersistingStoreInterface
9114
+ * @throws LockConflictedException
9115
+ */
9116
+ - public function save(Key $key);
9117
+ + public function save(Key $key): void;
9118
+
9119
+ /**
9120
+ @@ -38,5 +38,5 @@ interface PersistingStoreInterface
9121
+ * @throws LockReleasingException
9122
+ */
9123
+ - public function delete(Key $key);
9124
+ + public function delete(Key $key): void;
9125
+
9126
+ /**
9127
+ @@ -54,4 +54,4 @@ interface PersistingStoreInterface
9128
+ * @throws LockConflictedException
9129
+ */
9130
+ - public function putOffExpiration(Key $key, float $ttl);
9131
+ + public function putOffExpiration(Key $key, float $ttl): void;
9132
+ }
9133
+ diff --git a/src/Symfony/Component/Lock/SharedLockStoreInterface.php b/src/Symfony/Component/Lock/SharedLockStoreInterface.php
9134
+ index 8246152493..1814a18bca 100644
9135
+ --- a/src/Symfony/Component/Lock/SharedLockStoreInterface.php
9136
+ +++ b/src/Symfony/Component/Lock/SharedLockStoreInterface.php
9137
+ @@ -26,4 +26,4 @@ interface SharedLockStoreInterface extends PersistingStoreInterface
9138
+ * @throws LockConflictedException
9139
+ */
9140
+ - public function saveRead(Key $key);
9141
+ + public function saveRead(Key $key): void;
9142
+ }
9071
9143
diff --git a/src/Symfony/Component/Lock/Store/CombinedStore.php b/src/Symfony/Component/Lock/Store/CombinedStore.php
9072
9144
index 9087874c29..5cfd87c4ad 100644
9073
9145
--- a/src/Symfony/Component/Lock/Store/CombinedStore.php
0 commit comments