aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
index 9d8098ef..5f10f482 100644
--- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
+++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
@@ -744,7 +744,7 @@ class ContentProxyTest extends TestCase
744 * @param $string 744 * @param $string
745 * @return string 745 * @return string
746 */ 746 */
747 function strToHex($string){ 747 private function strToHex($string){
748 $hex = ''; 748 $hex = '';
749 for ($i=0; $i<strlen($string); $i++){ 749 for ($i=0; $i<strlen($string); $i++){
750 $ord = ord($string[$i]); 750 $ord = ord($string[$i]);
@@ -759,7 +759,7 @@ class ContentProxyTest extends TestCase
759 * @param $hex 759 * @param $hex
760 * @return string 760 * @return string
761 */ 761 */
762 function hexToStr($hex){ 762 private function hexToStr($hex){
763 $string=''; 763 $string='';
764 for ($i=0; $i < strlen($hex)-1; $i+=2){ 764 for ($i=0; $i < strlen($hex)-1; $i+=2){
765 $string .= chr(hexdec($hex[$i].$hex[$i+1])); 765 $string .= chr(hexdec($hex[$i].$hex[$i+1]));