We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3207bf8 commit d1daa20Copy full SHA for d1daa20
src/Objects/BaseObject.php
@@ -43,7 +43,7 @@ public function loadFromArray($object)
43
public function jsonSerialize()
44
{
45
$properties = get_object_vars($this);
46
- $properties = array_filter($properties, function ($value) {
+ $properties = array_filter($properties, static function ($value) {
47
return $value === false || !empty($value);
48
});
49
0 commit comments