Skip to content

Commit bc63159

Browse files
committed
There is nothing to do here. Model create-update action scenario is part of the application. It is still possible but the spec will need custom extension(s) and will possibly bloat spec for no significant gain.
1 parent 16862ad commit bc63159

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/lib/items/FractalAction.php

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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)