diff --git a/actions/class.PropertyValues.php b/actions/class.PropertyValues.php index efea90edf8..dfa431de06 100644 --- a/actions/class.PropertyValues.php +++ b/actions/class.PropertyValues.php @@ -28,59 +28,6 @@ use oat\tao\model\Lists\Presentation\Web\RequestHandler\ValueCollectionSearchRequestHandler; use oat\tao\model\Lists\DataAccess\Repository\DependsOnPropertyRepository; use oat\generis\model\OntologyAwareTrait; -use oat\tao\model\ParamConverter\Configuration\ParamConverter; - -class Subclass -{ - private $value1; - - private $value2; - - public function __construct(string $value1, string $value2) - { - $this->value1 = $value1; - $this->value2 = $value2; - } - - public function getValue1(): string - { - return $this->value1; - } - - public function getValue2(): string - { - return $this->value2; - } -} - -class SomeTestClass -{ - /** @var string */ - private $uri; - - /** @var Subclass */ - private $subclass; - - public function __construct(Subclass $subclass) - { - $this->subclass = $subclass; - } - - public function getUri(): string - { - return $this->uri; - } - - public function setUri(string $uri): void - { - $this->uri = $uri; - } - - public function getSubclass(): Subclass - { - return $this->subclass; - } -} class tao_actions_PropertyValues extends tao_actions_CommonModule { @@ -119,15 +66,6 @@ public function getDependOnPropertyList(): void ) ); } - - /** - * @ParamConverter("class", converter="oat.tao.param_converter.query") - */ - public function test(SomeTestClass $class): void - { - $this->setSuccessJsonResponse([]); - } - private function getRepository(): DependsOnPropertyRepository { return $this->getServiceLocator()->get(DependsOnPropertyRepository::class);