Skip to content
Snippets Groups Projects
Commit 95b530a5 authored by Olav Morken's avatar Olav Morken
Browse files

Utilities: stringToHex should be static.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@553 44740490-163a-0410-bde0-09ae8108e29a
parent 5358697d
No related branches found
No related tags found
No related merge requests found
......@@ -919,7 +919,7 @@ class SimpleSAML_Utilities {
* @param $bytes Input string.
* @return String with lowercase hexadecimal characters.
*/
public function stringToHex($bytes) {
public static function stringToHex($bytes) {
$ret = '';
for($i = 0; $i < strlen($bytes); $i++) {
$ret .= sprintf('%02x', ord($bytes[$i]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment