Skip to content

Commit

Permalink
Indentation fixed. Issue #32.
Browse files Browse the repository at this point in the history
  • Loading branch information
martignoni committed Jul 13, 2018
1 parent 74b768f commit 56a1c68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions classes/local/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ public static function get_wireless_interface_name() {
* @return string converted
*/
public static function convert_hex_string($string) {
return preg_replace_callback('#\\\\x([[:xdigit:]]{2})#ism', function($matches) {
return chr(hexdec($matches[1]));
}, $string);
}
return preg_replace_callback('#\\\\x([[:xdigit:]]{2})#ism', function($matches) {
return chr(hexdec($matches[1]));
}, $string);
}

}

0 comments on commit 56a1c68

Please sign in to comment.