Code Duplication    Length = 4-4 lines in 2 locations

API/TeamSpeak3.php 2 locations

@@ 1894-1897 (lines=4) @@
1891
  			@fclose($this->runtime['fileSocket']);
1892
  			$this->runtime['fileSocket'] = '';
1893
  			return $content;
1894
  		}else{
1895
  			$this->addDebugLog('fileSocket returns '.$errnum. ' | '.$errstr);
1896
  			return $this->generateOutput(false, array('Error in fileSocket: '.$errnum. ' | '.$errstr), false);
1897
  		}
1898
	}
1899
	
1900
/**
@@ 2098-2101 (lines=4) @@
2095
  			@fclose($this->runtime['fileSocket']);
2096
  			$this->runtime['fileSocket'] = '';
2097
  			return $this->generateOutput(true, array(), true);
2098
  		}else{
2099
  			$this->addDebugLog('fileSocket returns '.$errnum. ' | '.$errstr);
2100
  			return $this->generateOutput(false, array('Error in fileSocket: '.$errnum. ' | '.$errstr), false);
2101
  		}
2102
	}
2103
2104
/**