Skip to content

Commit da3a648

Browse files
committed
Fix docblock statements
1 parent 21138fd commit da3a648

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

app/controllers/ArticlesController.php

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class ArticlesController extends BaseController
3434
* @var $articlesPerPage
3535
*/
3636
private $articlesPerPage = 20;
37+
3738
/**
3839
* Comments per page limit
3940
*
@@ -42,12 +43,11 @@ class ArticlesController extends BaseController
4243
private $commentsPerPage = 20;
4344

4445
/**
45-
* Resolves class dependencies
46+
* Resolves class dependencies
4647
*
47-
* @param ArticleRepository $articles
48-
* @param TagRepository $tags
49-
* @param CommentRepository $comments
50-
* @return void
48+
* @param \Lio\Articles\ArticleRepository $articles
49+
* @param \Lio\Tags\TagRepository $tags
50+
* @param \Lio\Comments\CommentRepository $comments
5151
*/
5252
public function __construct(ArticleRepository $articles, TagRepository $tags, CommentRepository $comments)
5353
{
@@ -216,8 +216,10 @@ public function postEdit($articleId)
216216
}
217217

218218
/**
219-
* Renders the article edit comment page with comments
219+
* Renders the article edit comment page with comments
220220
*
221+
* @param $articleSlug
222+
* @param $commentId
221223
* @return Response
222224
*/
223225
public function getEditComment($articleSlug, $commentId)
@@ -231,8 +233,8 @@ public function getEditComment($articleSlug, $commentId)
231233
/**
232234
* Validates form input and stores comment edits to the database
233235
*
234-
* @param string @articleSlug
235-
* @param int @commentId
236+
* @param string $articleSlug
237+
* @param int $commentId
236238
*
237239
* @return Response
238240
*/
@@ -262,8 +264,8 @@ public function postEditComment($articleSlug, $commentId)
262264
/**
263265
* Renders the delete comment page by author
264266
*
265-
* @param string @articleSlug
266-
* @param int @commentId
267+
* @param string $articleSlug
268+
* @param int $commentId
267269
*
268270
* @return Response
269271
*/
@@ -279,8 +281,8 @@ public function getDeleteComment($articleSlug, $commentId)
279281
/**
280282
* Destroys comment by author
281283
*
282-
* @param string @articleSlug
283-
* @param int @commentId
284+
* @param string $articleSlug
285+
* @param int $commentId
284286
*
285287
* @return Response
286288
*/

0 commit comments

Comments
 (0)