Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Validator / RecursiveValidator.php
index 8763f2e6684732acbe8f75a70c231f1fb3f35b0a..33c2ec9e4798f90d94b6c7484c28578cd86f79ec 100644 (file)
@@ -117,7 +117,7 @@ class RecursiveValidator implements ValidatorInterface
     public function validatePropertyValue($objectOrClass, $propertyName, $value, $groups = null)
     {
         // If a class name is passed, take $value as root
-        return $this->startContext(is_object($objectOrClass) ? $objectOrClass : $value)
+        return $this->startContext(\is_object($objectOrClass) ? $objectOrClass : $value)
             ->validatePropertyValue($objectOrClass, $propertyName, $value, $groups)
             ->getViolations();
     }