Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / http-kernel / DataCollector / DataCollector.php
index 30887ab91c727ac12f946696a17a95804039c8e7..6d1a822e47a9008c1394c96cac6383b06a77ed8f 100644 (file)
@@ -115,7 +115,7 @@ abstract class DataCollector implements DataCollectorInterface, \Serializable
             '*' => function ($v, array $a, Stub $s, $isNested) {
                 if (!$v instanceof Stub) {
                     foreach ($a as $k => $v) {
-                        if (is_object($v) && !$v instanceof \DateTimeInterface && !$v instanceof Stub) {
+                        if (\is_object($v) && !$v instanceof \DateTimeInterface && !$v instanceof Stub) {
                             $a[$k] = new CutStub($v);
                         }
                     }