Skip to content

Commit ad7fc75

Browse files
authored
Merge pull request z-song#4256 from SpinyMan/field-issus
fixed returned type
2 parents 5694eeb + 554c01c commit ad7fc75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Form/Field.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,9 +807,9 @@ public function value($value = null)
807807
*
808808
* @param array $data
809809
*
810-
* @return $this
810+
* @return mixed
811811
*/
812-
public function data(array $data = null): self
812+
public function data(array $data = null)
813813
{
814814
if ($data === null) {
815815
return $this->data;

0 commit comments

Comments
 (0)