Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mtvbrianking authored and actions-user committed Apr 7, 2022
1 parent 123c9b8 commit cb50443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/JsonSimpleXMLElementDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function jsonSerialize()
}

// return empty elements as NULL (self-closing or empty tags)
if (! $array && $array != '0') {
if (! $array && '0' !== $array) {
$array = null;
}

Expand Down

0 comments on commit cb50443

Please sign in to comment.