Поправил описание атрибутов

master v0.0.6
Sipachev Igor 3 years ago
parent e4ff986b23
commit 18eca9a5a7
  1. 5658
      composer.lock
  2. 4
      src/Annotation/PropertyPath.php
  3. 2
      src/Annotation/RequestDTO.php

5658
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -2,10 +2,10 @@
namespace Rinsvent\RequestBundle\Annotation; namespace Rinsvent\RequestBundle\Annotation;
#[\Attribute] #[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
class PropertyPath class PropertyPath
{ {
public function __construct( public function __construct(
public string $path public string $path
) {} ) {}
} }

@ -2,7 +2,7 @@
namespace Rinsvent\RequestBundle\Annotation; namespace Rinsvent\RequestBundle\Annotation;
#[\Attribute(\Attribute::IS_REPEATABLE)] #[\Attribute(\Attribute::IS_REPEATABLE|\Attribute::TARGET_ALL)]
class RequestDTO class RequestDTO
{ {
public function __construct( public function __construct(

Loading…
Cancel
Save