[SoapBundle][SoapCommon] Removed unused TypeRepository in Definition\Method classes

This commit is contained in:
Francis Besset
2013-12-08 00:23:30 +01:00
parent 1e82d7fdd7
commit 60e3714602
3 changed files with 7 additions and 8 deletions

View File

@ -88,7 +88,6 @@ class AnnotationClassLoader extends Loader
$serviceMethod = new Definition\Method(
$annotation->getValue(),
$this->typeRepository,
$this->getController($class, $method, $annotation)
);
} elseif ($annotation instanceof Annotation\Result) {

View File

@ -23,9 +23,9 @@ class Method extends BaseMethod
{
private $controller;
public function __construct($name, TypeRepository $typeRepository, $controller)
public function __construct($name, $controller)
{
parent::__construct($name, $typeRepository);
parent::__construct($name);
$this->controller = $controller;
}