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

backend/protected/components/db/BActiveRecord.php 2 locations

@@ 321-335 (lines=15) @@
318
   * Задает popup подсказки
319
   * @return array
320
   */
321
  public function getPopupHints()
322
  {
323
    if( $this->_popupHints === null )
324
    {
325
      $items = BHint::model()->findAllByAttributes(
326
        array(
327
          'model' => get_class($this),
328
          'popup' => '1'
329
        ));
330
331
      $this->_popupHints = CHtml::listData($items, 'attribute', 'content');
332
    }
333
334
    return $this->_popupHints;
335
  }
336
337
  /**
338
   * Получает popup подсказку для атрибута
@@ 353-367 (lines=15) @@
350
   * Задает подсказки
351
   * @return array
352
   */
353
  public function getHints()
354
  {
355
    if( $this->_hints === null )
356
    {
357
      $items = BHint::model()->findAllByAttributes(
358
        array(
359
          'model' => get_class($this),
360
          'popup' => '0'
361
        ));
362
363
      $this->_hints = CHtml::listData($items, 'attribute', 'content');
364
    }
365
366
    return $this->_hints;
367
  }
368
369
  /**
370
   * Получает подсказку для атрибута