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

protected/components/form/FForm.php 1 location

@@ 259-265 (lines=7) @@
256
   */
257
  public function renderElement($element)
258
  {
259
    if( is_string($element) )
260
    {
261
      if( ($e = $this[$element]) === null && ($e = $this->getButtons()->itemAt($element)) === null )
262
        return $element;
263
      else
264
        $element = $e;
265
    }
266
    if( $element->getVisible() )
267
    {
268
      if( $element instanceof CFormInputElement )

protected/extensions/bootstrap/form/TbForm.php 1 location

@@ 37-43 (lines=7) @@
34
	 */
35
    public function renderElement($element)
36
    {
37
        if(is_string($element))
38
        {
39
            if(($e=$this[$element])===null && ($e=$this->getButtons()->itemAt($element))===null)
40
                return $element;
41
            else
42
                $element=$e;
43
        }
44
        if($element->getVisible())
45
        {
46
            if($element instanceof CFormInputElement)