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
@@ -23,13 +23,13 @@ class FakeMetadataFactory implements MetadataFactoryInterface
{
$hash = null;
if (is_object($class)) {
if (\is_object($class)) {
$hash = spl_object_hash($class);
$class = get_class($class);
$class = \get_class($class);
}
if (!is_string($class)) {
throw new NoSuchMetadataException(sprintf('No metadata for type %s', gettype($class)));
if (!\is_string($class)) {
throw new NoSuchMetadataException(sprintf('No metadata for type %s', \gettype($class)));
}
if (!isset($this->metadatas[$class])) {
@@ -47,12 +47,12 @@ class FakeMetadataFactory implements MetadataFactoryInterface
{
$hash = null;
if (is_object($class)) {
if (\is_object($class)) {
$hash = spl_object_hash($class);
$class = get_class($class);
$class = \get_class($class);
}
if (!is_string($class)) {
if (!\is_string($class)) {
return false;
}
@@ -66,7 +66,7 @@ class FakeMetadataFactory implements MetadataFactoryInterface
public function addMetadataForValue($value, MetadataInterface $metadata)
{
$key = is_object($value) ? spl_object_hash($value) : $value;
$key = \is_object($value) ? spl_object_hash($value) : $value;
$this->metadatas[$key] = $metadata;
}
}