Skip to content

Commit

Permalink
Merge branch '5.3' into 5.4
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nicolas-grekas committed Nov 29, 2021
2 parents 8dcd0b1 + c29306c commit 89ab66e
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 @@ -209,7 +209,7 @@ public function __toString()
public function withMaxDepth(int $maxDepth)
{
$data = clone $this;
$data->maxDepth = (int) $maxDepth;
$data->maxDepth = $maxDepth;

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

return $data;
}
Expand Down

0 comments on commit 89ab66e

Please sign in to comment.