Skip to content
Snippets Groups Projects
Commit 93608e0a authored by xamgore's avatar xamgore
Browse files

Some help to the static code analyzer

parent da3be0fe
Branches
Tags
No related merge requests found
<?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;
......
......@@ -9,7 +9,7 @@ class Kohana_Account {
/**
* Вовзращает экземпляр класса (singleton-паттерн)
*
* @return instance
* @return self
*/
public static function instance() {
if(!isset(self::$_instance))
......
......@@ -12,7 +12,7 @@ class Kohana_User implements ArrayAccess {
/**
* Вовзращает экземпляр класса (singleton-паттерн)
*
* @return instance
* @return self
*/
public static function instance($state = false) {
self::$_flag = $state;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment