for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AmaTeam\ElasticSearch\Mapping\Type\Parameter;
use Symfony\Component\Validator\Constraints\Type;
abstract class AbstractStringParameter extends AbstractParameter
{
public function getConstraints(): array
return [new Type(['type' => 'string'])];
}