'api.example.com']); } public function testModelPictureDocumentation() { $this->expectException(UndocumentedArrayItemsException::class); $this->expectExceptionMessage('Property "Nelmio\ApiDocBundle\Tests\Functional\Entity\ArrayItemsError\Bar::things[]" is an array, but its items type isn\'t specified.'); $this->getOpenApiDefinition(); } protected static function createKernel(array $options = []): KernelInterface { return new TestKernel(TestKernel::ERROR_ARRAY_ITEMS); } }