Skip to content

Commit 69c3987

Browse files
Merge branch '5.3' into 5.4
* 5.3: [Security] Do not overwrite already stored tokens for REMOTE_USER authentication [Validator] Fix validation for single level domains Fix redundant type casts Increased the reserved memory from 10k to 32k [DoctrineBridge] Add DbalLoggerTest to group legacy Leverage DBAL's getNativeConnection() method Fix idempotency of LocoProvider write method
2 parents 37b82f9 + 68b6cde commit 69c3987

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function setDecoratedService(?string $id, string $renamedId = null, int $
146146
if (null === $id) {
147147
$this->decoratedService = null;
148148
} else {
149-
$this->decoratedService = [$id, $renamedId, (int) $priority];
149+
$this->decoratedService = [$id, $renamedId, $priority];
150150

151151
if (ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) {
152152
$this->decoratedService[] = $invalidBehavior;

ParameterBag/ParameterBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function set(string $name, $value)
109109
*/
110110
public function has(string $name)
111111
{
112-
return \array_key_exists((string) $name, $this->parameters);
112+
return \array_key_exists($name, $this->parameters);
113113
}
114114

115115
/**

0 commit comments

Comments
 (0)