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

protected/extensions/retailcrm/components/xml/BaseXml.php 1 location

@@ 115-124 (lines=10) @@
112
  /**
113
   * @return string $filePath
114
   */
115
  protected function getXmlPath()
116
  {
117
    if( !isset($this->filePath) )
118
    {
119
      $class = str_replace('DataProvider', '', $this->dataProviderClass);
120
      $this->filePath = 'f/xml/'.lcfirst($class).'.xml';
121
    }
122
123
    return $this->filePath;
124
  }
125
126
  /**
127
   * Следить за буфером, при необходимост и обнулить

protected/models/xml/AbstractXml.php 1 location

@@ 122-131 (lines=10) @@
119
  /**
120
   * @return string $filePath
121
   */
122
  private function getXmlPath()
123
  {
124
    if( !isset($this->filePath) )
125
    {
126
      $class = str_replace('DataProvider', '', $this->dataProviderClass);
127
      $this->filePath = 'f/xml/'.lcfirst($class).'.xml';
128
    }
129
130
    return $this->filePath;
131
  }
132
}