Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
+5 -5
View File
@@ -58,7 +58,7 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
*/
protected function formatTypeOf($value)
{
return is_object($value) ? get_class($value) : gettype($value);
return \is_object($value) ? \get_class($value) : \gettype($value);
}
/**
@@ -107,7 +107,7 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
return $value->format('Y-m-d H:i:s');
}
if (is_object($value)) {
if (\is_object($value)) {
if (($format & self::OBJECT_TO_STRING) && method_exists($value, '__toString')) {
return $value->__toString();
}
@@ -115,15 +115,15 @@ abstract class ConstraintValidator implements ConstraintValidatorInterface
return 'object';
}
if (is_array($value)) {
if (\is_array($value)) {
return 'array';
}
if (is_string($value)) {
if (\is_string($value)) {
return '"'.$value.'"';
}
if (is_resource($value)) {
if (\is_resource($value)) {
return 'resource';
}