Jake Vanderwerf
2026-06-10 3baf3d2545ba6ece6b74a64c0def59bd0774cf54
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) {