mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Moved custom validators from annotations to attributes
This commit is contained in:
parent
e5a14557a2
commit
930adaf439
27 changed files with 50 additions and 148 deletions
|
@ -29,9 +29,9 @@ use App\Entity\ProjectSystem\ProjectBOMEntry;
|
|||
use App\Validator\Constraints\ProjectSystem\ValidProjectBuildRequest;
|
||||
|
||||
/**
|
||||
* @ValidProjectBuildRequest()
|
||||
* @see \App\Tests\Helpers\Projects\ProjectBuildRequestTest
|
||||
*/
|
||||
#[ValidProjectBuildRequest]
|
||||
final class ProjectBuildRequest
|
||||
{
|
||||
private readonly int $number_of_builds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue