@@ -45,6 +45,10 @@ |
||
45 | 45 | return $result; |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $name |
|
50 | + * @param string $translate |
|
51 | + */ |
|
48 | 52 | public static function findCached($name, $translate = null, $options = []) |
49 | 53 | { |
50 | 54 | if ($translate === null) { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use hipanel\modules\mailing\renderers\AbstractRedirectFormRenderer; |
6 | 6 | use yii\helpers\Html; |
7 | -use yii\web\JsExpression; |
|
8 | 7 | |
9 | 8 | class RedirectFormRenderer extends AbstractRedirectFormRenderer |
10 | 9 | { |
@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @inheritdoc |
36 | + * @param string $key |
|
36 | 37 | */ |
37 | 38 | public function setBounded($key, $value) |
38 | 39 | { |
@@ -58,6 +59,7 @@ discard block |
||
58 | 59 | |
59 | 60 | /** |
60 | 61 | * @inheritdoc |
62 | + * @param string $key |
|
61 | 63 | */ |
62 | 64 | public function getBounded($key) |
63 | 65 | { |
@@ -71,8 +73,7 @@ discard block |
||
71 | 73 | |
72 | 74 | /** |
73 | 75 | * Performs request to the API |
74 | - * @param string $key |
|
75 | - * @param array $value |
|
76 | + * @param string $action |
|
76 | 77 | * @return array |
77 | 78 | */ |
78 | 79 | private function perform($action, $data) |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use hipanel\modules\client\models\Client; |
6 | 6 | use yii\base\Application; |
7 | 7 | use yii\base\Component; |
8 | -use yii\di\Instance; |
|
9 | 8 | |
10 | 9 | class SettingsStorage extends Component implements SettingsStorageInterface |
11 | 10 | { |