@@ -118,7 +118,7 @@ |
||
118 | 118 | * |
119 | 119 | * @return self |
120 | 120 | */ |
121 | - final public function use(string $type, ?string $alias = null): self |
|
121 | + final public function use(string $type, ?string $alias = null) : self |
|
122 | 122 | { |
123 | 123 | $this->namespace->addUse($type, $alias); |
124 | 124 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * |
60 | 60 | * @return Literal |
61 | 61 | */ |
62 | - public function new(string $className, array $parameters, ?string $classAlias = null): Literal |
|
62 | + public function new(string $className, array $parameters, ?string $classAlias = null) : Literal |
|
63 | 63 | { |
64 | 64 | $className = $this->useAndSimplifyType($className, $classAlias); |
65 | 65 |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * |
44 | 44 | * @implements ChildBuilderAttributeInterface<ArrayElementBuilder> |
45 | 45 | */ |
46 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
46 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
47 | 47 | final class CallbackArrayConstraint implements ChildBuilderAttributeInterface |
48 | 48 | { |
49 | 49 | public function __construct( |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @implements ChildBuilderAttributeInterface<ArrayElementBuilder> |
39 | 39 | */ |
40 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
40 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
41 | 41 | final class ArrayConstraint implements ChildBuilderAttributeInterface |
42 | 42 | { |
43 | 43 | public function __construct( |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * @see Constraint |
44 | 44 | * @see Closure The used constraint |
45 | 45 | */ |
46 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
46 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
47 | 47 | final class CallbackConstraint implements ChildBuilderAttributeInterface |
48 | 48 | { |
49 | 49 | public function __construct( |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * @see ElementBuilderInterface::satisfy() The called method |
36 | 36 | * @see Constraint |
37 | 37 | */ |
38 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
38 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
39 | 39 | class Satisfy implements ChildBuilderAttributeInterface |
40 | 40 | { |
41 | 41 | public function __construct( |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @implements ChildBuilderAttributeInterface<\Bdf\Form\ElementBuilderInterface> |
33 | 33 | */ |
34 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
34 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
35 | 35 | class Configure implements ChildBuilderAttributeInterface |
36 | 36 | { |
37 | 37 | public function __construct( |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * @see ChildBuilderInterface::modelTransformer() The called method |
34 | 34 | * @see CallbackModelTransformer For use custom methods as transformer instead of class |
35 | 35 | */ |
36 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
36 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
37 | 37 | final class ModelTransformer implements ChildBuilderAttributeInterface |
38 | 38 | { |
39 | 39 | public function __construct( |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * @see ModelTransformer For use a transformer class as model transformer |
72 | 72 | * @see CallbackTransformer For use transformer in same way, but for http transformer intead of model one |
73 | 73 | */ |
74 | -#[Attribute(Attribute::TARGET_PROPERTY | Attribute::IS_REPEATABLE)] |
|
74 | +#[Attribute(Attribute::TARGET_PROPERTY|Attribute::IS_REPEATABLE)] |
|
75 | 75 | final class CallbackModelTransformer implements ChildBuilderAttributeInterface |
76 | 76 | { |
77 | 77 | public function __construct( |