Skip to content

Commit 7b6b7d0

Browse files
committed
fix: comments in template
1 parent 0189cad commit 7b6b7d0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

system/Commands/Generators/Views/controller.tpl.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class {class} extends {extends}
99
{
1010
<?php if ($type === 'controller'): ?>
1111
/**
12-
* Return an array of resource objects, themselves in array format
12+
* Return an array of resource objects, themselves in array format.
1313
*
1414
* @return ResponseInterface
1515
*/
@@ -19,7 +19,7 @@ public function index()
1919
}
2020

2121
/**
22-
* Return the properties of a resource object
22+
* Return the properties of a resource object.
2323
*
2424
* @return ResponseInterface
2525
*/
@@ -29,7 +29,7 @@ public function show($id = null)
2929
}
3030

3131
/**
32-
* Return a new resource object, with default properties
32+
* Return a new resource object, with default properties.
3333
*
3434
* @return ResponseInterface
3535
*/
@@ -39,7 +39,7 @@ public function new()
3939
}
4040

4141
/**
42-
* Create a new resource object, from "posted" parameters
42+
* Create a new resource object, from "posted" parameters.
4343
*
4444
* @return ResponseInterface
4545
*/
@@ -49,7 +49,7 @@ public function create()
4949
}
5050

5151
/**
52-
* Return the editable properties of a resource object
52+
* Return the editable properties of a resource object.
5353
*
5454
* @return ResponseInterface
5555
*/
@@ -59,7 +59,7 @@ public function edit($id = null)
5959
}
6060

6161
/**
62-
* Add or update a model resource, from "posted" properties
62+
* Add or update a model resource, from "posted" properties.
6363
*
6464
* @return ResponseInterface
6565
*/
@@ -69,7 +69,7 @@ public function update($id = null)
6969
}
7070

7171
/**
72-
* Delete the designated resource object from the model
72+
* Delete the designated resource object from the model.
7373
*
7474
* @return ResponseInterface
7575
*/
@@ -79,7 +79,7 @@ public function delete($id = null)
7979
}
8080
<?php elseif ($type === 'presenter'): ?>
8181
/**
82-
* Present a view of resource objects
82+
* Present a view of resource objects.
8383
*
8484
* @return ResponseInterface
8585
*/
@@ -89,7 +89,7 @@ public function index()
8989
}
9090

9191
/**
92-
* Present a view to present a specific resource object
92+
* Present a view to present a specific resource object.
9393
*
9494
* @param string $id
9595
*
@@ -101,7 +101,7 @@ public function show($id = null)
101101
}
102102

103103
/**
104-
* Present a view to present a new single resource object
104+
* Present a view to present a new single resource object.
105105
*
106106
* @return mixed
107107
*/
@@ -122,7 +122,7 @@ public function create()
122122
}
123123

124124
/**
125-
* Present a view to edit the properties of a specific resource object
125+
* Present a view to edit the properties of a specific resource object.
126126
*
127127
* @param mixed $id
128128
*
@@ -147,7 +147,7 @@ public function update($id = null)
147147
}
148148

149149
/**
150-
* Present a view to confirm the deletion of a specific resource object
150+
* Present a view to confirm the deletion of a specific resource object.
151151
*
152152
* @param mixed $id
153153
*
@@ -159,7 +159,7 @@ public function remove($id = null)
159159
}
160160

161161
/**
162-
* Process the deletion of a specific resource object
162+
* Process the deletion of a specific resource object.
163163
*
164164
* @param mixed $id
165165
*

0 commit comments

Comments
 (0)