Skip to content

Commit 49d5bed

Browse files
committed
add #[\ReturnTypeWillChange] for 8.1 depreciation
1 parent 74063ea commit 49d5bed

File tree

1 file changed

+1
-0
lines changed
  • Ajax/semantic/components/validation

1 file changed

+1
-0
lines changed

Ajax/semantic/components/validation/Rule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public function setValue($value) {
5656
return $this;
5757
}
5858

59+
#[\ReturnTypeWillChange]
5960
public function jsonSerialize() {
6061
$result= ["type"=>$this->type];
6162
if(isset($this->prompt))

0 commit comments

Comments
 (0)