src/ReflectionResolver.php
public function resolve($concrete, array $args = [])
    {
        $instance = $concrete;

        if (is_callable($concrete)) {
            //$concrete = $this->resolveCallable($concrete);
            $instance = $this->call($concrete, $args);
        }

        if (is_string($concrete) && class_exists($concrete)) {
            //$concrete = $this->resolveClass($concrete);
            $instance = $this->build($concrete, $args);
        }

        return $instance;
    }
public function resolve($concrete, array $args = [])
    {
        $instance = $concrete;

        if (is_callable($concrete)) {
            //$concrete = $this->resolveCallable($concrete);
            $instance = $this->call($concrete, $args);
        }

        if (is_string($concrete) && class_exists($concrete)) {
            //$concrete = $this->resolveClass($concrete);
            $instance = $this->build($concrete, $args);
        }

        return $instance;
    }
$concrete c'est un mixed