@@ -51,6 +51,10 @@ |
||
51 | 51 | return ArrayHelper::map($models, $from, $to, $group); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $name |
|
56 | + * @param string $translate |
|
57 | + */ |
|
54 | 58 | public static function findCached($name, $translate = null, $options = []) |
55 | 59 | { |
56 | 60 | if ($translate === null) { |
@@ -21,11 +21,17 @@ |
||
21 | 21 | |
22 | 22 | public $options = []; |
23 | 23 | |
24 | + /** |
|
25 | + * @param string $name |
|
26 | + */ |
|
24 | 27 | public static function i($name, $params = []) |
25 | 28 | { |
26 | 29 | return self::build('i', $name, $params); |
27 | 30 | } |
28 | 31 | |
32 | + /** |
|
33 | + * @param string $tag |
|
34 | + */ |
|
29 | 35 | public static function build($tag, $name, $params = []) |
30 | 36 | { |
31 | 37 | $class = get_called_class(); |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use hiqdev\higrid\representations\RepresentationCollectionInterface; |
17 | 17 | use Yii; |
18 | 18 | use yii\base\Behavior; |
19 | -use yii\base\InvalidConfigException; |
|
20 | 19 | use yii\web\Controller; |
21 | 20 | |
22 | 21 | class UiOptionsBehavior extends Behavior |
@@ -19,6 +19,9 @@ |
||
19 | 19 | private $module; |
20 | 20 | private $controller; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $controller |
|
24 | + */ |
|
22 | 25 | public function __construct($module, $controller) |
23 | 26 | { |
24 | 27 | $this->module = $module; |
@@ -14,7 +14,6 @@ |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * @param GridLegendInterface $legendItem |
17 | - * @param array $config |
|
18 | 17 | * @return self |
19 | 18 | */ |
20 | 19 | public static function create(GridLegendInterface $legendItem) |
@@ -66,6 +66,9 @@ |
||
66 | 66 | return $label; |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param string $key |
|
71 | + */ |
|
69 | 72 | public function getValue($key) |
70 | 73 | { |
71 | 74 | if (isset($this->knownClasses[$this->className][$key])) { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace hipanel\widgets\obj; |
12 | 12 | |
13 | 13 | use hipanel\models\Obj; |
14 | -use Yii; |
|
15 | 14 | use yii\helpers\Html; |
16 | 15 | |
17 | 16 | class ObjLinkWidget extends \yii\base\Widget |
@@ -40,6 +40,9 @@ |
||
40 | 40 | $this->_label = $label; |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @return string |
|
45 | + */ |
|
43 | 46 | public function getLabel() |
44 | 47 | { |
45 | 48 | if ($this->_label === null) { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | class DynamicFormWidget extends \wbraganca\dynamicform\DynamicFormWidget |
14 | 14 | { |
15 | 15 | /** |
16 | - * @param \wbraganca\dynamicform\View $view |
|
17 | 16 | */ |
18 | 17 | public function registerAssets() |
19 | 18 | { |