Completed
Pull Request — master (#8)
by
unknown
02:06
created
controllers/DefController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
models/TaxonomyDefSearch.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
behaviors/BaseTermBehavior.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
-  * User: Phreak
3
+ * User: Phreak
4 4
  * Date: 13.02.2015
5 5
  * Time: 09:31 ч.
6 6
  */
Please login to merge, or discard this patch.
behaviors/PropertySupportBehavior.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Yii;
6 6
 use yii\base\Behavior;
7
-use yii\base\Event;
8
-use yii\db\ActiveRecord;
9
-use yii\db\AfterSaveEvent;
10 7
 
11 8
 /**
12 9
  * @author Nikolay Traykov
Please login to merge, or discard this patch.
behaviors/TagSupportBehavior.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Yii;
6 6
 use yii\base\Behavior;
7
-use yii\base\Event;
8 7
 use yii\db\ActiveRecord;
9 8
 use yii\db\AfterSaveEvent;
10 9
 
Please login to merge, or discard this patch.
components/terms/CategoryTerm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
components/terms/BaseTerm.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
         if ($object_id) {
23 23
             $query->innerJoin($this->table, $this->table . '.term_id = taxonomy_terms.id')
24
-                  ->onCondition("$this->table.object_id = $object_id");
24
+                    ->onCondition("$this->table.object_id = $object_id");
25 25
         }
26 26
 
27 27
         return ArrayHelper::getColumn($query->all(), 'term');
Please login to merge, or discard this patch.