@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace app\extensions\DefaultTheme\widgets\FilterSets; |
4 | 4 | |
5 | -use app\modules\shop\models\FilterSets; |
|
6 | 5 | use Yii; |
7 | 6 | use app\extensions\DefaultTheme\components\BaseWidget; |
7 | +use app\modules\shop\models\FilterSets; |
|
8 | 8 | |
9 | 9 | class Widget extends BaseWidget |
10 | 10 | { |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -2,11 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace app\extensions\DefaultTheme\widgets\Footer; |
4 | 4 | |
5 | -use Yii; |
|
6 | -use app\extensions\DefaultTheme\assets\BootstrapHoverDropdown; |
|
7 | 5 | use app\extensions\DefaultTheme\components\BaseWidget; |
8 | -use app\modules\shop\models\Order; |
|
9 | -use yii\helpers\ArrayHelper; |
|
10 | 6 | |
11 | 7 | class Widget extends BaseWidget |
12 | 8 | { |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace app\widgets\options; |
4 | 4 | |
5 | 5 | use app\models\Property; |
6 | -use Yii; |
|
7 | 6 | use yii\base\Widget; |
8 | 7 | use yii\helpers\ArrayHelper; |
9 | 8 | use yii\helpers\Json; |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace app\extensions\DefaultTheme\models; |
4 | 4 | |
5 | -use Yii; |
|
6 | - |
|
7 | 5 | class BaseWidgetConfigurationModel extends WidgetConfigurationModel |
8 | 6 | { |
9 | 7 | public $configurationJson = '{}'; |
@@ -291,7 +291,7 @@ |
||
291 | 291 | * @param string $key ContentBlock key |
292 | 292 | * @param array $params . Array of params to be replaced while render |
293 | 293 | * @param yii\base\Model $model . Caller model instance to use in caching |
294 | - * @return mixed |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public static function getChunk($key, $params = [], yii\base\Model $model = null) |
297 | 297 | { |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use yii\db\Schema; |
|
4 | 3 | use yii\db\Migration; |
5 | 4 | |
6 | 5 | class m150609_064330_backend_menu extends Migration |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use yii\db\Schema; |
|
4 | 3 | use yii\db\Migration; |
5 | 4 | |
6 | 5 | class m150609_064330_backend_menu extends Migration |