Skip to content

Commit 4dae086

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Security] Do not overwrite already stored tokens for REMOTE_USER authentication [Validator] Fix validation for single level domains [Notifier] add Vonage bridge to replace the Nexmo one Fix redundant type casts Increased the reserved memory from 10k to 32k Complete event name & dispatcher in EventDispatcherDebugCommand [DoctrineBridge] Add DbalLoggerTest to group legacy Leverage DBAL's getNativeConnection() method [FrameworkBundle] Fix property-info phpstan extractor discovery Fix idempotency of LocoProvider write method
2 parents 6cd84a7 + 69c3987 commit 4dae086

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
@@ -144,7 +144,7 @@ public function setDecoratedService(?string $id, string $renamedId = null, int $
144144
if (null === $id) {
145145
$this->decoratedService = null;
146146
} else {
147-
$this->decoratedService = [$id, $renamedId, (int) $priority];
147+
$this->decoratedService = [$id, $renamedId, $priority];
148148

149149
if (ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) {
150150
$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, array|bool|string|int|float|null $value)
109109
*/
110110
public function has(string $name): bool
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)