[SoapBundle][SoapCommon] Removed unused TypeRepository in Definition\Method classes
This commit is contained in:
@ -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) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user