fix tests

This commit is contained in:
Guilhem Niot 2021-12-19 11:41:36 +01:00 committed by GitHub
parent ade4b6c17c
commit b399cb4c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,11 @@
namespace Nelmio\ApiDocBundle\Tests\Functional;
use Symfony\Component\HttpKernel\KernelInterface;
class ValidationGroupsFunctionalTest extends WebTestCase
{
protected static function createKernel(array $options = [])
protected static function createKernel(array $options = []): KernelInterface
{
return new TestKernel(TestKernel::USE_VALIDATION_GROUPS);
}