@@ -8,9 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace nkostadinov\taxonomy\components\terms; |
| 10 | 10 | |
| 11 | -use Aws\S3\Exception\AccessDeniedException; |
|
| 12 | 11 | use nkostadinov\taxonomy\components\interfaces\ITaxonomyTermInterface; |
| 13 | -use nkostadinov\taxonomy\models\Taxonomy; |
|
| 14 | 12 | use nkostadinov\taxonomy\models\TaxonomyDef; |
| 15 | 13 | use nkostadinov\taxonomy\models\TaxonomyTerms; |
| 16 | 14 | use yii\base\Exception; |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use yii\db\Migration; |
| 14 | 14 | use yii\db\Query; |
| 15 | 15 | use yii\db\Schema; |
| 16 | -use yii\helpers\ArrayHelper; |
|
| 17 | 16 | |
| 18 | 17 | class PropertyTerm extends BaseTerm { |
| 19 | 18 | |
@@ -19,6 +19,9 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | class Migrator extends \yii\console\controllers\MigrateController |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @param string $id |
|
| 24 | + */ |
|
| 22 | 25 | public function __construct($id, $module, $config = []) |
| 23 | 26 | { |
| 24 | 27 | parent::__construct($id, $module, $config); // TODO: Change the autogenerated stub |
@@ -64,7 +67,7 @@ discard block |
||
| 64 | 67 | |
| 65 | 68 | /** |
| 66 | 69 | * Lists all TaxonomyDef models. |
| 67 | - * @return mixed |
|
| 70 | + * @return string |
|
| 68 | 71 | * @throws InvalidConfigException |
| 69 | 72 | */ |
| 70 | 73 | public function actionIndex() |
@@ -84,7 +87,7 @@ discard block |
||
| 84 | 87 | /** |
| 85 | 88 | * Displays a single TaxonomyDef model. |
| 86 | 89 | * @param integer $id |
| 87 | - * @return mixed |
|
| 90 | + * @return string |
|
| 88 | 91 | */ |
| 89 | 92 | public function actionView($id) |
| 90 | 93 | { |
@@ -157,7 +160,7 @@ discard block |
||
| 157 | 160 | * Deletes an existing TaxonomyDef model. |
| 158 | 161 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 159 | 162 | * @param integer $id |
| 160 | - * @return mixed |
|
| 163 | + * @return \yii\web\Response |
|
| 161 | 164 | */ |
| 162 | 165 | public function actionDelete($id) |
| 163 | 166 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use nkostadinov\taxonomy\models\TaxonomyDefSearch; |
| 9 | 9 | use yii\base\InvalidConfigException; |
| 10 | 10 | use yii\data\ActiveDataProvider; |
| 11 | -use yii\helpers\Url; |
|
| 12 | 11 | use yii\web\Controller; |
| 13 | 12 | use yii\web\NotFoundHttpException; |
| 14 | 13 | use yii\filters\VerbFilter; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace nkostadinov\taxonomy\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | 5 | use yii\base\Model; |
| 7 | 6 | use yii\data\ActiveDataProvider; |
| 8 | 7 | use nkostadinov\taxonomy\models\TaxonomyDef; |