Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.
This repository was archived by the owner on May 23, 2025. It is now read-only.

refactor this logic into better permission/state checks #200

@todo

Description

@todo

// TODO: refactor this logic into better permission/state checks
if (array_key_exists('approvalnr', $data) && $competitionState->id > CompetitionState::STATE_ENROLLMENT) {
unset($data['approvalnr']);
}
$validator = $this->validatorFactory->newWineValidator($wine, $data);


This issue was generated by todo based on a TODO comment in fcd121e when #199 was merged. cc @ChristophWurst.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions