diff --git a/~dev_rating/application/classes/Controller/Handler.php b/~dev_rating/application/classes/Controller/Handler.php index d36405de53cac067afc766ba687fe10ac083344d..5c9592a67864b99fb497ff45c3a86fc3f7e12478 100644 --- a/~dev_rating/application/classes/Controller/Handler.php +++ b/~dev_rating/application/classes/Controller/Handler.php @@ -1,7 +1,17 @@ <?php defined('SYSPATH') or die('No direct script access.'); class Controller_Handler extends Controller { - protected $user, $post, $get, $model; + /** @var Validation */ + protected $post; + + /** @var Validation */ + protected $get; + + /** @var User */ + protected $user; + + protected $model; + private $access; const ACCESS_USER = 0; diff --git a/~dev_rating/modules/account/classes/Kohana/Account.php b/~dev_rating/modules/account/classes/Kohana/Account.php index 3674eae8de4e470e726297a572685d8f2cfdd409..f1bcf0b288a62918f0c3511c458b0ee9e6b0bd84 100644 --- a/~dev_rating/modules/account/classes/Kohana/Account.php +++ b/~dev_rating/modules/account/classes/Kohana/Account.php @@ -9,7 +9,7 @@ class Kohana_Account { /** * Вовзращает экземпляр класса (singleton-паттерн) * - * @return instance + * @return self */ public static function instance() { if(!isset(self::$_instance)) diff --git a/~dev_rating/modules/account/classes/Kohana/User.php b/~dev_rating/modules/account/classes/Kohana/User.php index 9041d3fde94a8198565a29620306a39bf6db207a..9df487f9f0dcfca6412711c46ba403d9c52c375f 100644 --- a/~dev_rating/modules/account/classes/Kohana/User.php +++ b/~dev_rating/modules/account/classes/Kohana/User.php @@ -12,7 +12,7 @@ class Kohana_User implements ArrayAccess { /** * Вовзращает экземпляр класса (singleton-паттерн) * - * @return instance + * @return self */ public static function instance($state = false) { self::$_flag = $state;