Jake Vanderwerf
3 days ago ba1e1ccf869b818f7a7a897264dfea05563a7796
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) {