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

backend/protected/modules/product/modules/commonAssociation/frontend/CommonAssociation.php 1 location

@@ 103-113 (lines=11) @@
100
   *
101
   * @return CDbCriteria
102
   */
103
  private function getAssociationCriteria(CDbCriteria $criteria = null)
104
  {
105
    if( !$criteria )
106
      $associationCriteria = new CDbCriteria();
107
    else
108
      $associationCriteria = clone $criteria;
109
110
    $associationCriteria->addInCondition('t.id', $this->getKeys());
111
112
    return $associationCriteria;
113
  }
114
} 

protected/models/Association.php 1 location

@@ 115-125 (lines=11) @@
112
   *
113
   * @return CDbCriteria
114
   */
115
  private function getAssociationCriteria(CDbCriteria $criteria = null)
116
  {
117
    if( !$criteria )
118
      $associationCriteria = new CDbCriteria();
119
    else
120
      $associationCriteria = clone $criteria;
121
122
    $associationCriteria->addInCondition('t.id', $this->getKeys());
123
124
    return $associationCriteria;
125
  }
126
}