Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / src / Util / Json.php
index 54ccf313444340042390cdcaca6fb91c83366d1f..471f10e7d8d7542cf87ab58216ccbe0d7d4e67c0 100644 (file)
@@ -28,6 +28,6 @@ class Json
     {
         $opt |= JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
 
-        return json_encode($val, $opt);
+        return \json_encode($val, $opt);
     }
 }