Release 2.13 (#4659)

This commit is contained in:
Kevin Papst
2024-03-10 15:35:59 +01:00
committed by GitHub
parent a78e8ed8c4
commit dee90bb15e
79 changed files with 1019 additions and 932 deletions

View File

@@ -19,9 +19,9 @@ trait EntityValidationTestTrait
{
/**
* @param object $entity
* @param array|string $fieldNames
* @param array<string>|string $fieldNames
*/
public function assertHasViolationForField(object $entity, $fieldNames, $groups = null): void
public function assertHasViolationForField(object $entity, array|string $fieldNames, $groups = null): void
{
self::bootKernel();
/** @var ValidatorInterface $validator */

View File

@@ -24,7 +24,7 @@ class TimesheetValidationTest extends KernelTestCase
{
use EntityValidationTestTrait;
protected function getEntity()
protected function getEntity(): Timesheet
{
$customer = new Customer('Test Customer');