- New code generation made for CLI

This commit is contained in:
mcndave committed 2026-01-05 12:39:41 +00:00
1 parent ae212a4377
commit c3e3d6a73a
22 files changed
+1067 -17

No files matched your search

+1 -3
View File
@@ -19,8 +19,6 @@ abstract class Save extends Form implements \Picea\Ui\Method\FormInterface {
protected array $reflectedProperties;
protected string $contextClass;
public function initialize(FormContextInterface $context) : void
{
if ( ! $this->getEntity()->isLoaded() ) {
@@ -74,7 +72,7 @@ abstract class Save extends Form implements \Picea\Ui\Method\FormInterface {
$context->pushErrorMessage($ex->getMessage());
}
return $saved;
return $saved ?? false;
}
protected function validateContextFields(FormContextInterface $context) : void