Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21f801e

Browse filesBrowse 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
Copy full SHA for 21f801e

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎src/Symfony/Component/Form/FormBuilderInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/FormBuilderInterface.php
+2-2Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Util/ServerParams.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.