Skip to content

Commit

Permalink
🐛 #118 correção referencia classe
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Sep 27, 2022
1 parent ebdbc0d commit c0f1080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/CreateApiControllesFiles.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function addSave()
$this->addLine(ESP.ESP.ESP.ESP.'$result = self::selectByIdInside($args);');
$this->addLine(ESP.ESP.ESP.ESP.'$bodyRequest = \ArrayHelper::get($result,0);');
$this->addLine(ESP.ESP.ESP.ESP.'if( empty($bodyRequest) ){');
$this->addLine(ESP.ESP.ESP.ESP.ESP.'throw new \DomainException(Message::GENERIC_ID_NOT_EXIST);');
$this->addLine(ESP.ESP.ESP.ESP.ESP.'throw new \DomainException(\Message::GENERIC_ID_NOT_EXIST);');
$this->addLine(ESP.ESP.ESP.ESP.'}');
$this->addLine(ESP.ESP.ESP.ESP.'$vo = \FormDinHelper::setPropertyVo($bodyRequest,$vo);');
$this->addLine(ESP.ESP.ESP.'}');
Expand Down

0 comments on commit c0f1080

Please sign in to comment.