Skip to content

Commit b0a8eba

Browse files
authored
Merge pull request #42 from php-openapi/41-model-scenarios-for-createupdate-actions
Resolve: Model scenarios for create/update actions #41
2 parents 3c523c2 + bc63159 commit b0a8eba

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/lib/items/FractalAction.php

-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ public function hasTemplate():bool
202202

203203
public function getTemplate():?string
204204
{
205-
//@TODO: Model scenarios for create/update actions
206205
return $this->templateFactory()->getTemplate();
207206
}
208207

src/lib/items/RestAction.php

-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ public function hasTemplate():bool
126126

127127
public function getTemplate():?string
128128
{
129-
//@TODO: Model scenarios for create/update actions
130129
$template = ActionTemplates::getTemplate($this->id);
131130
if (!$template) {
132131
return null;

0 commit comments

Comments
 (0)