Your project must not contain invalid instantiations

More information: https://insight.symfony.com/what-we-analyse/php.invalid_instantiation

in src/Model/Struct.php, line 254
  1. return $enum;
  2. }
  3. $this
  4. ->setStruct(true)
  5. ->setRestriction(true)
  6. ->getValues()->add(new StructValue($this->getGenerator(), $value, $this->getValues()->count(), $this));
    Parameter #1 $generator of class WsdlToPhp\PackageGenerator\Model\StructValue constructor expects WsdlToPhp\PackageGenerator\Generator\Generator, WsdlToPhp\PackageGenerator\Generator\Generator|null given.
    Time to fix: about 1 hour
    Read doc Permalink Copy Prompt
    Last edited by Mikaël DELSOL
  7. }
  8. return $this;
  9. }