File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 19
19
"symfony/phpunit-bridge" : " ^5.4|^6.3|^7.0" ,
20
20
"phpstan/phpstan" : " ^1.11" ,
21
21
"zenstruck/browser" : " ^1.4" ,
22
- "symfony/twig-bundle" : " ^6.3|^7.0" ,
23
- "twig/twig" : " ^2.15|^3.0"
22
+ "symfony/twig-bundle" : " ^5.4|^6.3|^7.0" ,
23
+ "twig/twig" : " ^2.15|^3.0" ,
24
+ "symfony/options-resolver" : " ^5.4|^6.3|^7.0"
24
25
},
25
26
"minimum-stability" : " dev" ,
26
27
"autoload" : {
Original file line number Diff line number Diff line change @@ -191,7 +191,10 @@ public function count(): int
191
191
return $ this ->builder ->count ();
192
192
}
193
193
194
- public function add (string |FormBuilderInterface $ child , string $ type = null , array $ options = []): static
194
+ /**
195
+ * @param string|FormBuilderInterface $child
196
+ */
197
+ public function add ($ child , string $ type = null , array $ options = []): static
195
198
{
196
199
$ this ->builder ->add ($ child , $ type , $ options );
197
200
@@ -286,7 +289,7 @@ public function setAttributes(array $attributes): static
286
289
return $ this ;
287
290
}
288
291
289
- public function setDataMapper (? DataMapperInterface $ dataMapper ): static
292
+ public function setDataMapper (DataMapperInterface $ dataMapper = null ): static
290
293
{
291
294
$ this ->builder ->setDataMapper ($ dataMapper );
292
295
@@ -335,7 +338,10 @@ public function setMethod(string $method): static
335
338
return $ this ;
336
339
}
337
340
338
- public function setPropertyPath (null |string |PropertyPathInterface $ propertyPath ): static
341
+ /**
342
+ * @param string|PropertyPathInterface|null $propertyPath
343
+ */
344
+ public function setPropertyPath ($ propertyPath ): static
339
345
{
340
346
$ this ->builder ->setPropertyPath ($ propertyPath );
341
347
You can’t perform that action at this time.
0 commit comments