]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php
Make helper methods strToHex and hexToStr in ContentProxyTest.php private
[github/wallabag/wallabag.git] / tests / Wallabag / CoreBundle / Helper / ContentProxyTest.php
index 9d8098efdff15fdd44397d9915b19c3784aea68d..5f10f4826c276f630c847bb9bed29bee2f2e2b63 100644 (file)
@@ -744,7 +744,7 @@ class ContentProxyTest extends TestCase
      * @param $string
      * @return string
      */
-    function strToHex($string){
+    private function strToHex($string){
         $hex = '';
         for ($i=0; $i<strlen($string); $i++){
             $ord = ord($string[$i]);
@@ -759,7 +759,7 @@ class ContentProxyTest extends TestCase
      * @param $hex
      * @return string
      */
-    function hexToStr($hex){
+    private function hexToStr($hex){
         $string='';
         for ($i=0; $i < strlen($hex)-1; $i+=2){
             $string .= chr(hexdec($hex[$i].$hex[$i+1]));