tidy unused vars

This commit is contained in:
James 2020-02-15 13:20:30 +00:00
parent e8ef5f535c
commit 8f41a5583b

View File

@ -10,8 +10,6 @@ use \JHodges\GiteaBot\Client;
final class PostFailedTests{
private $fails=[];
private $client=null;
private $repo=null;
function __construct($xml_path){
@ -22,8 +20,8 @@ final class PostFailedTests{
if(!$url) return;
// open connection and repo
$this->client=new Client($url, $user, $pass, true);
$this->repo=$this->client->getRepo($repoUser, $repo);
$client=new Client($url, $user, $pass, true);
$this->repo=$client->getRepo($repoUser, $repo);
$this->process($this->xml);
}