X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Ftest%2FClassWithSecrets.php;h=adf27e3fd9038eafe2f6315a6dbea92b6a0ca7d5;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=92eaf76da975b4d609b12479a8d8c43974ad1d57;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/psy/psysh/test/ClassWithSecrets.php b/vendor/psy/psysh/test/ClassWithSecrets.php index 92eaf76da..adf27e3fd 100644 --- a/vendor/psy/psysh/test/ClassWithSecrets.php +++ b/vendor/psy/psysh/test/ClassWithSecrets.php @@ -20,7 +20,7 @@ class ClassWithSecrets private static function privateStaticMethod($extra = null) { if ($extra !== null) { - return 'private and static and method with ' . json_encode($extra); + return 'private and static and method with ' . \json_encode($extra); } return 'private and static and method'; @@ -29,7 +29,7 @@ class ClassWithSecrets private function privateMethod($extra = null) { if ($extra !== null) { - return 'private and method with ' . json_encode($extra); + return 'private and method with ' . \json_encode($extra); } return 'private and method';