Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
syyongx authored Nov 30, 2021
1 parent 2cbf33e commit 09bdb07
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion php.go
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,6 @@ func Bin2hex(str string) (string, error) {
i, err := strconv.ParseInt(str, 2, 0)
if err != nil {
// If input is not binary number
// Fix suggested at https://github.com/syyongx/php2go/issues/25 by https://github.com/tobychui
if err.(*strconv.NumError).Err == strconv.ErrSyntax {
byteArray := []byte(str)
var out string
Expand Down

0 comments on commit 09bdb07

Please sign in to comment.