File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,10 @@ public function count(): int
191191 return $ this ->builder ->count ();
192192 }
193193
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
195198 {
196199 $ this ->builder ->add ($ child , $ type , $ options );
197200
@@ -286,7 +289,7 @@ public function setAttributes(array $attributes): static
286289 return $ this ;
287290 }
288291
289- public function setDataMapper (? DataMapperInterface $ dataMapper ): static
292+ public function setDataMapper (DataMapperInterface $ dataMapper = null ): static
290293 {
291294 $ this ->builder ->setDataMapper ($ dataMapper );
292295
@@ -335,7 +338,10 @@ public function setMethod(string $method): static
335338 return $ this ;
336339 }
337340
338- public function setPropertyPath (null |string |PropertyPathInterface $ propertyPath ): static
341+ /**
342+ * @param string|PropertyPathInterface|null $propertyPath
343+ */
344+ public function setPropertyPath ($ propertyPath ): static
339345 {
340346 $ this ->builder ->setPropertyPath ($ propertyPath );
341347
You can’t perform that action at this time.
0 commit comments