Skip to content

Commit 21f801e

Browse files
committed
minor #42591 [Form] Fix phpdoc on FormBuilderInterface (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- [Form] Fix phpdoc on FormBuilderInterface | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 54eb4a4 [Form] Fix phpdoc on FormBuilderInterface
2 parents 017111f + 54eb4a4 commit 21f801e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Form/FormBuilderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface FormBuilderInterface extends \Traversable, \Countable, FormConfigBuild
2828
* @param string|FormBuilderInterface $child
2929
* @param array<string, mixed> $options
3030
*
31-
* @return self
31+
* @return static
3232
*/
3333
public function add($child, string $type = null, array $options = []);
3434

@@ -55,7 +55,7 @@ public function get(string $name);
5555
/**
5656
* Removes the field with the given name.
5757
*
58-
* @return self
58+
* @return static
5959
*/
6060
public function remove(string $name);
6161

src/Symfony/Component/Form/Util/ServerParams.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function hasPostMaxSizeBeenExceeded()
4141
/**
4242
* Returns maximum post size in bytes.
4343
*
44-
* @return int|null The maximum post size in bytes
44+
* @return int|float|null The maximum post size in bytes
4545
*/
4646
public function getPostMaxSize()
4747
{

0 commit comments

Comments
 (0)