for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* Api Class
* @category Ticaje
* @author Max Demian <[email protected]>
*/
namespace Ticaje\AeSdk\Api\Traits\Mediator;
use Ticaje\AeSdk\Infrastructure\Interfaces\Provider\Request\RequestDtoInterface as DtoInterface;
use Ticaje\Contract\Patterns\Interfaces\Decorator\DecoratorInterface;
* Trait ApiPostMediator
* @package Ticaje\AeSdk\Api\Traits\Mediator
trait ApiPostMediator
{
* @inheritDoc
* Fetch {resource} details from AE API.
public function post(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface
return $this->launch($generalRequest, $serviceRequest, __FUNCTION__);
launch()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return $this->/** @scrutinizer ignore-call */ launch($generalRequest, $serviceRequest, __FUNCTION__);
}