Skip to content

Commit

Permalink
允许重写jsonSerialize
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Mar 9, 2023
1 parent 528bba9 commit 2670f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SplBean.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ final public function getProperty($name)
}
}

final public function jsonSerialize(): array
public function jsonSerialize(): array
{
$data = [];
foreach ($this->properties as $key => $property){
Expand Down

0 comments on commit 2670f62

Please sign in to comment.