Skip to content

Commit

Permalink
Merge pull request #22 from dantefff/master
Browse files Browse the repository at this point in the history
Update Mapper_Shim.php to fix #20
  • Loading branch information
n0nag0n authored Feb 28, 2025
2 parents ed20b06 + f37be0b commit f79377f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/Mapper_Shim.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* This allows all mappers to be serializable with json
*/
class Mapper_Shim extends Db\SQL\Mapper implements JsonSerializable {
#[\ReturnTypeWillChange]
public function jsonSerialize() {
return $this->cast();
}
Expand Down

0 comments on commit f79377f

Please sign in to comment.