Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / test / ClassWithSecrets.php
index 92eaf76da975b4d609b12479a8d8c43974ad1d57..adf27e3fd9038eafe2f6315a6dbea92b6a0ca7d5 100644 (file)
@@ -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';