Skip to content

Commit b2890bd

Browse files
committed
YP 1493 details dynamic fields
1 parent 93dcca4 commit b2890bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Details.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ public function toArray(): array
129129
$array[$key] = $value;
130130
}
131131

132-
return array_filter($array, static fn ($value) => $value !== null);
132+
return array_filter($array, static fn ($value) => !empty($value));
133133
}
134134
}

0 commit comments

Comments
 (0)