From 95b530a5a54a93090cba8dd9e632e3af87e203b1 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 13 May 2008 15:15:43 +0000
Subject: [PATCH] Utilities: stringToHex should be static.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@553 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Utilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php
index 73dfd2f12..57ed6ae89 100644
--- a/lib/SimpleSAML/Utilities.php
+++ b/lib/SimpleSAML/Utilities.php
@@ -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]));
-- 
GitLab