Jake Vanderwerf
2026-06-09 f4be611c51473359e6d41780f0313c446079e9d3
base/SchemaHelper.php
@@ -125,6 +125,7 @@
         default => [],
      };
      $result = apply_filters(BASE.ucfirst($type).ucfirst($format).'Default', $defaults);
      if ($format === 'reference' && empty($result)) {
         $full = self::getDefault($type, 'schema');
@@ -274,6 +275,10 @@
      $className = $config['type'];
      unset($config['type']);
      $class = new $className();
      if (array_key_exists('id', $config)) {
         $class->setId($config['id']);
         unset($config['id']);
      }
      foreach ($config as $property => $value) {