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 = 7-7 lines in 2 locations

backend/protected/modules/product/models/BProductParam.php 1 location

@@ 151-157 (lines=7) @@
148
   * @param BProduct $product
149
   * @param array $savedIds
150
   */
151
  protected function deleteProductParameters(BProduct $product, array $savedIds)
152
  {
153
    $criteria = new CDbCriteria();
154
    $criteria->compare('product_id', $product->id);
155
    $criteria->addNotInCondition('id', $savedIds);
156
    $this->deleteAll($criteria);
157
  }
158
}

backend/protected/modules/product/models/BProductAssignment.php 1 location

@@ 212-218 (lines=7) @@
209
    return $model;
210
  }
211
212
  protected function deleteAssignments($product, array $savedIds)
213
  {
214
    $criteria = new CDbCriteria();
215
    $criteria->compare('product_id', $product->id);
216
    $criteria->addNotInCondition('id', $savedIds);
217
    $this->deleteAll($criteria);
218
  }
219
220
  /**
221
   * Формируем критерий для выборки - массив id подходящих по зависимости атрибутов