Completed
Branch master (d2f459)
by Andrii
14:43
created
src/Module.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace hiqdev\thememanager;
13 13
 
14
-use Yii;
15
-
16 14
 class Module extends \yii\base\Module
17 15
 {
18 16
     use GetManagerTrait;
Please login to merge, or discard this patch.
src/Theme.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
         return $dirs;
140 140
     }
141 141
 
142
+    /**
143
+     * @param string $name
144
+     */
142 145
     public function buildPathes($dirs, $name)
143 146
     {
144 147
         foreach ($dirs as $dir) {
@@ -202,6 +205,9 @@  discard block
 block discarded – undo
202 205
         return substr($class, 0, strrpos($class, '\\')) . '\\models\\Settings';
203 206
     }
204 207
 
208
+    /**
209
+     * @param string $class
210
+     */
205 211
     public static function findSettingsClass($class)
206 212
     {
207 213
         $res = static::calcSettingsClass($class);
Please login to merge, or discard this patch.
src/ThemeManager.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -109,6 +109,7 @@
 block discarded – undo
109 109
      * Changes theme.
110 110
      *
111 111
      * @param string theme name
112
+     * @param string $name
112 113
      *
113 114
      * @throws InvalidConfigException
114 115
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use hiqdev\thememanager\models\Settings;
15 15
 use Yii;
16
-use yii\base\Application;
17 16
 use yii\base\InvalidConfigException;
18 17
 use yii\web\AssetBundle;
19 18
 
Please login to merge, or discard this patch.