From ffdd9522fa46b86aac2d9ab3ef4cd0e6a03bcbc0 Mon Sep 17 00:00:00 2001 From: Timothy McClatchey <112527648+tlmcclatchey@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:27:05 -0500 Subject: [PATCH] Remove var_dump from delegate --- src/DependencyInjector.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DependencyInjector.php b/src/DependencyInjector.php index 14e84d1..4d2a488 100644 --- a/src/DependencyInjector.php +++ b/src/DependencyInjector.php @@ -68,7 +68,6 @@ public function __construct() public function delegate(string $className, callable $callback): void { $this->valueFinder->onLookup(function ($name, $typeName, &$found) use ($className, $callback) { - var_dump($typeName, $className); if ($typeName === $className) { $found = true; return $callback($this, $name, $typeName); @@ -225,4 +224,4 @@ public function populate(object $object, array $values, bool $publicOnly = true) $class = $class->getParentClass(); } } -} \ No newline at end of file +}