Closed Danack closed 2 years ago
Currently, it may be hard to spot typos when the constructor param name is slightly different from the available param name. Think backgroundColor vs background_color. Both look correct in isolation.
throw MissingConstructorParameterNameException::missingParam( $classname, - $name + $name . "available are: " . implode(", ", array_keys($values)) );
This is no longer relevant. The input name and name used by the type being created are no longer the same.
Currently, it may be hard to spot typos when the constructor param name is slightly different from the available param name. Think backgroundColor vs background_color. Both look correct in isolation.