Skip to content

Commit

Permalink
Merge pull request #12 from Clemweb/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Mar 26, 2022
2 parents bb05feb + e7109ab commit 2f30c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JSMin/JSMin.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ protected function get()
$c = null;
}
}
if (ord($c) >= self::ORD_SPACE || $c === "\n" || $c === null) {
if ($c === null || ord($c) >= self::ORD_SPACE || $c === "\n") {
return $c;
}
if ($c === "\r") {
Expand Down

0 comments on commit 2f30c9d

Please sign in to comment.