@@ -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 m150515_141224_order_customers 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 m150531_170721_final_stage extends Migration |
@@ -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 m150608_070448_new_theme_widgets 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\models; |
| 4 | 4 | |
| 5 | 5 | use app; |
| 6 | -use Yii; |
|
| 7 | 6 | |
| 8 | 7 | class BaseThemeConfigurationModel extends app\modules\config\models\BaseConfigurationModel |
| 9 | 8 | { |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\properties\AbstractModel; |
| 6 | 7 | use app\properties\HasProperties; |
| 7 | -use Yii; |
|
| 8 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 8 | 9 | use yii\caching\TagDependency; |
| 9 | 10 | use yii\data\ActiveDataProvider; |
| 10 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; |
|
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | 13 | * This is the model class for table "form". |
@@ -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 | { |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace app\models; |
| 3 | 3 | |
| 4 | +use Yii; |
|
| 4 | 5 | use app\modules\shop\models\FilterSets; |
| 5 | 6 | use app\properties\HasProperties; |
| 6 | 7 | use app\properties\PropertyHandlers; |
| 7 | 8 | use app\traits\GetImages; |
| 8 | -use Yii; |
|
| 9 | 9 | use yii\behaviors\AttributeBehavior; |
| 10 | 10 | use yii\caching\TagDependency; |
| 11 | 11 | use yii\data\ActiveDataProvider; |
@@ -432,7 +432,7 @@ |
||
| 432 | 432 | } |
| 433 | 433 | |
| 434 | 434 | /** |
| 435 | - * @return array |
|
| 435 | + * @return string[] |
|
| 436 | 436 | */ |
| 437 | 437 | public static function getAliases() |
| 438 | 438 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\properties\HasProperties; |
| 6 | 7 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 7 | -use Yii; |
|
| 8 | 8 | use yii\behaviors\AttributeBehavior; |
| 9 | 9 | use yii\caching\TagDependency; |
| 10 | 10 | use yii\data\ActiveDataProvider; |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | /** |
| 214 | 214 | * @param int $object_id |
| 215 | 215 | * @param int $object_model_id |
| 216 | - * @return null|\yii\db\ActiveRecord[] |
|
| 216 | + * @return string |
|
| 217 | 217 | */ |
| 218 | 218 | public static function getForModel($object_id, $object_model_id) |
| 219 | 219 | { |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | /** |
| 272 | - * @param ActiveRecord|HasProperties $model |
|
| 272 | + * @param ActiveRecord $model |
|
| 273 | 273 | * @param string $idAttribute |
| 274 | 274 | * @return bool |
| 275 | 275 | */ |