@@ -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 | { |
@@ -138,6 +138,9 @@ |
||
| 138 | 138 | return FileHelper::getMimeType($path); |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | + /** |
|
| 142 | + * @return string |
|
| 143 | + */ |
|
| 141 | 144 | private function getExtIcon($ext) |
| 142 | 145 | { |
| 143 | 146 | $default = '<div><i class="fa fa-file-text-o fa-2x"></i></div>'; |