Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Exception / UnexpectedTypeException.php
index 49d8cc2082234fdead7612d65968cc321879ca3a..485dbca051d599baa3f966e0dbc39a730e0c7dea 100644 (file)
@@ -15,6 +15,6 @@ class UnexpectedTypeException extends ValidatorException
 {
     public function __construct($value, $expectedType)
     {
-        parent::__construct(sprintf('Expected argument of type "%s", "%s" given', $expectedType, is_object($value) ? get_class($value) : gettype($value)));
+        parent::__construct(sprintf('Expected argument of type "%s", "%s" given', $expectedType, \is_object($value) ? \get_class($value) : \gettype($value)));
     }
 }