Skip to content

Commit ee58990

Browse files
[Form] Fix phpdoc on FormBuilderInterface
1 parent 38b92e4 commit ee58990

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

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)