@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\page\components; |
| 4 | 4 | |
| 5 | -use app\modules\page\models\Page; |
|
| 6 | 5 | use Yii; |
| 6 | +use app\modules\page\models\Page; |
|
| 7 | 7 | use yii\web\UrlRuleInterface; |
| 8 | 8 | |
| 9 | 9 | class PageRule implements UrlRuleInterface |
@@ -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,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\db\Schema; |
|
| 4 | 3 | use yii\db\Migration; |
| 4 | +use yii\db\Schema; |
|
| 5 | 5 | |
| 6 | 6 | class m150601_111734_order_in_cart extends Migration |
| 7 | 7 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\db\Schema; |
|
| 4 | 3 | use yii\db\Migration; |
| 4 | +use yii\db\Schema; |
|
| 5 | 5 | |
| 6 | 6 | class m150601_111734_order_in_cart extends Migration |
| 7 | 7 | { |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use yii\db\Schema; |
|
| 4 | 3 | use yii\db\Migration; |
| 4 | +use yii\db\Schema; |
|
| 5 | 5 | |
| 6 | 6 | class m150601_111734_order_in_cart extends Migration |
| 7 | 7 | { |
@@ -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 |
@@ -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; |
@@ -13,14 +13,14 @@ |
||
| 13 | 13 | * @property string $link_slug_category |
| 14 | 14 | * @property string $link_slug_static_value |
| 15 | 15 | */ |
| 16 | +use Yii; |
|
| 16 | 17 | use app\modules\data\models\Export; |
| 17 | 18 | use app\modules\data\models\Import; |
| 18 | -use Yii; |
|
| 19 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 19 | 20 | use yii\caching\TagDependency; |
| 20 | 21 | use yii\db\ActiveRecord; |
| 21 | 22 | use yii\db\Query; |
| 22 | 23 | use yii\helpers\ArrayHelper; |
| 23 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 24 | 24 | |
| 25 | 25 | class Object extends ActiveRecord implements \JsonSerializable |
| 26 | 26 | { |
@@ -131,7 +131,7 @@ |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * @return Submission[]|array |
|
| 134 | + * @return \yii\db\ActiveQuery |
|
| 135 | 135 | */ |
| 136 | 136 | public function getSubmissions() |
| 137 | 137 | { |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\widgets\navigation\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backgroundtasks\traits\SearchModelTrait; |
| 6 | 7 | use app\behaviors\Tree; |
| 7 | 8 | use app\properties\HasProperties; |
| 8 | 9 | use app\traits\FindById; |
| 9 | 10 | use app\traits\GetImages; |
| 10 | -use Yii; |
|
| 11 | 11 | use yii\data\ActiveDataProvider; |
| 12 | 12 | |
| 13 | 13 | /** |
@@ -168,7 +168,7 @@ |
||
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
| 171 | - * @return array |
|
| 171 | + * @return string[] |
|
| 172 | 172 | */ |
| 173 | 173 | public function getOfferElements() |
| 174 | 174 | { |