Fix return docblocks for processors
This commit is contained in:
@@ -21,6 +21,9 @@ class ApiResourceStateProcessor implements ProcessorInterface
|
||||
private AutoMapper $autoMapper,
|
||||
) {}
|
||||
|
||||
/**
|
||||
* @return T2
|
||||
*/
|
||||
public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = [])
|
||||
{
|
||||
$entity = $this->getEntity($data, $operation->getStateOptions());
|
||||
|
||||
@@ -27,7 +27,8 @@ class UserTokenLoginProcessor implements ProcessorInterface
|
||||
|
||||
/**
|
||||
* @param UserTokenLoginDto $data
|
||||
* @param UserTokenApiResource
|
||||
*
|
||||
* @return UserTokenApiResource
|
||||
*/
|
||||
public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user