From 46f3c13947e0667d772dbbaf0adceff21e50c02e Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 3 Sep 2016 21:45:45 +0930 Subject: [PATCH] Add missing property declaration --- .../core/src/Api/Controller/ShowDiscussionController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/framework/core/src/Api/Controller/ShowDiscussionController.php b/framework/core/src/Api/Controller/ShowDiscussionController.php index cda6b4546..c2bcacc44 100644 --- a/framework/core/src/Api/Controller/ShowDiscussionController.php +++ b/framework/core/src/Api/Controller/ShowDiscussionController.php @@ -24,6 +24,11 @@ class ShowDiscussionController extends AbstractResourceController */ protected $discussions; + /** + * @var PostRepository + */ + protected $posts; + /** * {@inheritdoc} */