diff options
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)  | 
