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

protected/components/image/FActiveImage.php 1 location

@@ 45-55 (lines=11) @@
42
   *
43
   * @return string
44
   */
45
  public function __toString()
46
  {
47
    if( !empty($this->name) && file_exists($this->getFullPath()) )
48
    {
49
      return '/' . $this->getFullPath();
50
    }
51
    else
52
    {
53
      return $this->defaultImage;
54
    }
55
  }
56
57
  /**
58
   * Получение неоригинального изображения

protected/components/image/FSingleImage.php 1 location

@@ 102-112 (lines=11) @@
99
   *
100
   * @return string
101
   */
102
  public function __toString()
103
  {
104
    if( !empty($this->name) && file_exists($this->getFullPath()) )
105
    {
106
      return '/' . $this->getFullPath();
107
    }
108
    else
109
    {
110
      return $this->defaultImage;
111
    }
112
  }
113
114
  /**
115
   * Создание пути для файла