Fixed IDE warnings

This commit is contained in:
Alf Magne Kalleland
2013-02-06 23:47:38 +01:00
parent c6782583fc
commit 5e0f62c7b6
2 changed files with 1 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ class DGTGameParser {
}
public function getPgnFromDGTData($remoteUrl, $toLocalPgnFile, $eventId=null) {
public function getPgnFromDGTData($remoteUrl) {
$this->remoteUrl = $this->getCorrectUrl($remoteUrl);
$gameIds = $this->getGameIds();
@@ -46,7 +46,6 @@ class DGTGameParser {
private function getGameIds(){
$ret = array();
$i = 1;
$content = $this->readRemoteFile($this->remoteUrl . 'tocks.txt');
preg_match_all("/<(.*?)>/s", $content,$matches, PREG_SET_ORDER);
for($i=0,$count = count($matches);$i<$count; $i+=2){

View File

@@ -16,7 +16,6 @@ class ParserTest extends PHPUnit_Framework_TestCase
private function getNumericSquare($square)
{
return isset(Board0x88Config::$mapping[$square]) ? Board0x88Config::$mapping[$square] : null;
}
/**