for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Korobovn\CloudPayments\Message\Strategy\Specification;
class IsSuccessSpecification implements SpecificationInterface
{
/**
* {@inheritdoc}
*/
public function isSatisfiedBy(array $response): bool
return isset($response['Success']) && $response['Success'] === true;
}