Skip to content

Commit

Permalink
Merge branch '5.4' into 6.0
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nicolas-grekas committed Nov 29, 2021
2 parents b507e79 + 89ab66e commit 18d9a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cloner/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function __toString(): string
public function withMaxDepth(int $maxDepth): static
{
$data = clone $this;
$data->maxDepth = (int) $maxDepth;
$data->maxDepth = $maxDepth;

return $data;
}
Expand All @@ -185,7 +185,7 @@ public function withMaxDepth(int $maxDepth): static
public function withMaxItemsPerDepth(int $maxItemsPerDepth): static
{
$data = clone $this;
$data->maxItemsPerDepth = (int) $maxItemsPerDepth;
$data->maxItemsPerDepth = $maxItemsPerDepth;

return $data;
}
Expand Down

0 comments on commit 18d9a17

Please sign in to comment.