From b8a1a6449d753b99e2b3fbf7348ac8178bc81634 Mon Sep 17 00:00:00 2001 From: Roel van Hintum Date: Thu, 9 Apr 2026 15:53:14 +0200 Subject: [PATCH] Fixed Collection->remove incorrect throw The remove function always throws an error, even when the name is valid. --- src/Collection/Collection.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Collection/Collection.php b/src/Collection/Collection.php index 273840632..58f532014 100644 --- a/src/Collection/Collection.php +++ b/src/Collection/Collection.php @@ -45,7 +45,6 @@ public function remove(string $name): void if ($this->has($name)) { unset($this->values[$name]); } - throw $this->notFound($name); } public function count(): int