diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-06-25 10:07:06 -0300 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-06-25 10:07:06 -0300 |
commit | e5e355d06890b324df2ded707ca491f9539dd171 (patch) | |
tree | ec176a2a9eab58d9f0b7b661378f80442ca6a9b3 /app/Controller | |
parent | 60cc58c940537e299cee388d8b1d8c56e27e2d80 (diff) |
Merge pull-request #140 (several small fixes)
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Base.php | 10 | ||||
-rw-r--r-- | app/Controller/Category.php | 1 |
2 files changed, 7 insertions, 4 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php index 9b695a82..13fb9b91 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -66,7 +66,7 @@ abstract class Base * Registry instance * * @access private - * @var Core\Registry + * @var \Core\Registry */ private $registry; @@ -85,7 +85,8 @@ abstract class Base * Load automatically models * * @access public - * @param string $name Model name + * @param string $name Model name + * @return mixed */ public function __get($name) { @@ -214,8 +215,9 @@ abstract class Base * Common layout for task views * * @access protected - * @param string $template Template name - * @param array $params Template parameters + * @param string $template Template name + * @param array $params Template parameters + * @return string */ protected function taskLayout($template, array $params) { diff --git a/app/Controller/Category.php b/app/Controller/Category.php index 9b73f207..9e2bcdbb 100644 --- a/app/Controller/Category.php +++ b/app/Controller/Category.php @@ -33,6 +33,7 @@ class Category extends Base * Get the category (common method between actions) * * @access private + * @param $project_id * @return array */ private function getCategory($project_id) |