src/AnnotationCollection.php
public function create($name, array $positionalArguments, array $namedArguments, array $context)
    {
        if ($this->has($name)) {
            return new $this->registry[$name]($positionalArguments, $namedArguments, new AnnotationContext($context));
        }

        return null;
    }
public function create($name, array $positionalArguments, array $namedArguments, array $context)
    {
        if ($this->has($name)) {
            return new $this->registry[$name]($positionalArguments, $namedArguments, new AnnotationContext($context));
        }

        return null;
    }
{@inheritdoc}