alexplusde / ymca

Erstellt passende YForm-Dataset-Klassen und API-Routen anhand YForm-Felddefinitionen, um diese schnell und einfach in Projekten und Addons einzusetzen.
https://github.com/alexplusde/ymca
MIT License
7 stars 1 forks source link

Für den FeldTyp 'datetime' wird falscher Code erzeugt. #19

Open timeceeper opened 1 month ago

timeceeper commented 1 month ago

Typname datetime

/* Meindatum */
/** @api */
public function getMeindatum() : ?string {
    return $this->getValue("meindatum");
}
/** @api */
public function setMeindatum(string $datetime) : self {
    $this->getValue("meindatum", $datetime);
    return $this;
}

Bei setMeindatum müsste es ein $this->setValue sein.

timeceeper commented 1 month ago

betrifft be_media, be_link auch.

alxndr-w commented 1 month ago

Danke, ist mir auch schon aufgefallen. Gerne direkt korrigieren und als PR reinpacken.