fix issues with fix_undeclared_properties

Status Job ID Name Coverage
  Test
passed #105887

00:00:17