diff --git a/src/contracts/Validation/AbstractValidationStructWrapper.php b/src/contracts/Validation/AbstractValidationStructWrapper.php index 4ffdc057d4..75cfef05dd 100644 --- a/src/contracts/Validation/AbstractValidationStructWrapper.php +++ b/src/contracts/Validation/AbstractValidationStructWrapper.php @@ -19,10 +19,8 @@ abstract class AbstractValidationStructWrapper implements ValidationStructWrappe { /** * @phpstan-var T - * - * @Assert\Valid() */ - private object $struct; + protected object $struct; /** * @phpstan-param T $struct @@ -39,9 +37,4 @@ final public function getStruct(): object { return $this->struct; } - - final public function getStructName(): string - { - return 'struct'; - } }