33namespace {namespace};
44
55use {useStatement};
6+ use CodeIgniter\HTTP\ResponseInterface;
67
78class {class} extends {extends}
89{
910<?php if ($ type === 'controller ' ): ?>
1011 /**
1112 * Return an array of resource objects, themselves in array format
1213 *
13- * @return mixed
14+ * @return ResponseInterface
1415 */
1516 public function index()
1617 {
@@ -20,7 +21,7 @@ public function index()
2021 /**
2122 * Return the properties of a resource object
2223 *
23- * @return mixed
24+ * @return ResponseInterface
2425 */
2526 public function show($id = null)
2627 {
@@ -30,7 +31,7 @@ public function show($id = null)
3031 /**
3132 * Return a new resource object, with default properties
3233 *
33- * @return mixed
34+ * @return ResponseInterface
3435 */
3536 public function new()
3637 {
@@ -40,7 +41,7 @@ public function new()
4041 /**
4142 * Create a new resource object, from "posted" parameters
4243 *
43- * @return mixed
44+ * @return ResponseInterface
4445 */
4546 public function create()
4647 {
@@ -50,7 +51,7 @@ public function create()
5051 /**
5152 * Return the editable properties of a resource object
5253 *
53- * @return mixed
54+ * @return ResponseInterface
5455 */
5556 public function edit($id = null)
5657 {
@@ -60,7 +61,7 @@ public function edit($id = null)
6061 /**
6162 * Add or update a model resource, from "posted" properties
6263 *
63- * @return mixed
64+ * @return ResponseInterface
6465 */
6566 public function update($id = null)
6667 {
@@ -70,7 +71,7 @@ public function update($id = null)
7071 /**
7172 * Delete the designated resource object from the model
7273 *
73- * @return mixed
74+ * @return ResponseInterface
7475 */
7576 public function delete($id = null)
7677 {
@@ -80,7 +81,7 @@ public function delete($id = null)
8081 /**
8182 * Present a view of resource objects
8283 *
83- * @return mixed
84+ * @return ResponseInterface
8485 */
8586 public function index()
8687 {
@@ -90,9 +91,9 @@ public function index()
9091 /**
9192 * Present a view to present a specific resource object
9293 *
93- * @param mixed $id
94+ * @param string $id
9495 *
95- * @return mixed
96+ * @return ResponseInterface
9697 */
9798 public function show($id = null)
9899 {
0 commit comments