Skip to content

Commit 75815c0

Browse files
authored
Typehint for php 8.0 compatibility
1 parent 4ef876a commit 75815c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/ResultObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function isDisabled() : bool
4444
return $this->disabled;
4545
}
4646

47-
public function jsonSerialize()
47+
public function jsonSerialize() : array
4848
{
4949
$toReturn = [
5050
'id' => $this->id,

0 commit comments

Comments
 (0)