Skip to content

Commit 18d9a17

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 b507e79 + 89ab66e commit 18d9a17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cloner/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function __toString(): string
174174
public function withMaxDepth(int $maxDepth): static
175175
{
176176
$data = clone $this;
177-
$data->maxDepth = (int) $maxDepth;
177+
$data->maxDepth = $maxDepth;
178178

179179
return $data;
180180
}
@@ -185,7 +185,7 @@ public function withMaxDepth(int $maxDepth): static
185185
public function withMaxItemsPerDepth(int $maxItemsPerDepth): static
186186
{
187187
$data = clone $this;
188-
$data->maxItemsPerDepth = (int) $maxItemsPerDepth;
188+
$data->maxItemsPerDepth = $maxItemsPerDepth;
189189

190190
return $data;
191191
}

0 commit comments

Comments
 (0)