Skip to content

Commit

Permalink
no need for this check based on input types
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Jan 7, 2025
1 parent a1f9023 commit ce2d2e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Encoder/JsonxTypeEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ private function getType(null|array|bool|float|int|string $value): string
return self::DATATYPE_NUMBER;
}

if (null === $value) {
return self::DATATYPE_NULL;
}
return self::DATATYPE_NULL;
}
}

0 comments on commit ce2d2e0

Please sign in to comment.