From 11e65ce23135a657c46181895339563d17aa13a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 10 Oct 2018 10:16:45 +0100 Subject: [PATCH] Fix: Remove unused field $maxDepth from IsEqual constraint --- src/Framework/Constraint/IsEqual.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Framework/Constraint/IsEqual.php b/src/Framework/Constraint/IsEqual.php index 930fd74ece7..be4c3aca89f 100644 --- a/src/Framework/Constraint/IsEqual.php +++ b/src/Framework/Constraint/IsEqual.php @@ -34,11 +34,6 @@ class IsEqual extends Constraint */ private $delta; - /** - * @var int - */ - private $maxDepth; - /** * @var bool */ @@ -55,7 +50,6 @@ public function __construct($value, float $delta = 0.0, int $maxDepth = 10, bool $this->value = $value; $this->delta = $delta; - $this->maxDepth = $maxDepth; $this->canonicalize = $canonicalize; $this->ignoreCase = $ignoreCase; }