Skip to content

Commit

Permalink
Remove var_dump from delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
tlmcclatchey authored Aug 4, 2024
1 parent ad4f44a commit ffdd952
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DependencyInjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -225,4 +224,4 @@ public function populate(object $object, array $values, bool $publicOnly = true)
$class = $class->getParentClass();
}
}
}
}

0 comments on commit ffdd952

Please sign in to comment.