From: Tobi823 Date: Fri, 21 Sep 2018 11:31:28 +0000 (+0200) Subject: Make helper methods strToHex and hexToStr in ContentProxyTest.php private X-Git-Tag: 2.3.4~15^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d64139d8123ac88c8ba1b427c3ee3637b6ea1c96;p=github%2Fwallabag%2Fwallabag.git Make helper methods strToHex and hexToStr in ContentProxyTest.php private to prevent misusage (from outside this class) --- 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 * @param $string * @return string */ - function strToHex($string){ + private function strToHex($string){ $hex = ''; for ($i=0; $i