Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / translation / Loader / MoFileLoader.php
index aad2bba2204372f292083fc2c508d3eb012b2f77..93ecffa6655060752a39dc2d574f34c0e817ecdf 100644 (file)
@@ -111,7 +111,7 @@ class MoFileLoader extends FileLoader
             $ids = array('singular' => $singularId, 'plural' => $pluralId);
             $item = compact('ids', 'translated');
 
-            if (is_array($item['translated'])) {
+            if (\is_array($item['translated'])) {
                 $messages[$item['ids']['singular']] = stripcslashes($item['translated'][0]);
                 if (isset($item['ids']['plural'])) {
                     $plurals = array();