GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 10-11 lines in 2 locations

backend/protected/modules/tag/behaviors/TagBehavior.php 1 location

@@ 40-50 (lines=11) @@
37
   *
38
   * @return array
39
   */
40
  public function getTagItemIds($tagId)
41
  {
42
    $criteria = new CDbCriteria();
43
    $criteria->select = 'item_id';
44
    $criteria->compare('`group`', $this->group);
45
    $criteria->compare('tag_id', $tagId);
46
47
    $command = Yii::app()->db->commandBuilder->createFindCommand(TagItem::model()->tableName(), $criteria);
48
49
    return $command->queryColumn();
50
  }
51
}

protected/models/product/behaviors/ProductParametersBehavior.php 1 location

@@ 160-169 (lines=10) @@
157
    return $this->getParametersByKeys(array(ProductParameter::BASKET_KEY));
158
  }
159
160
  private function getCurrentProductParameterNameIds()
161
  {
162
    $criteria = new CDbCriteria();
163
    $criteria->compare('product_id', $this->owner->primaryKey);
164
    $criteria->select = 'param_id';
165
166
    $command = Yii::app()->db->commandBuilder->createFindCommand(ProductParameter::model()->tableName(), $criteria);
167
168
    return $command->queryColumn();
169
  }
170
171
  /**
172
   * @param string $name