From 8f41a5583bc679d55dbad00ffaadb97d2389287a Mon Sep 17 00:00:00 2001 From: James Date: Sat, 15 Feb 2020 13:20:30 +0000 Subject: [PATCH] tidy unused vars --- src/PostFailedTests.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/PostFailedTests.php b/src/PostFailedTests.php index 7dc4fce..ba62b9d 100644 --- a/src/PostFailedTests.php +++ b/src/PostFailedTests.php @@ -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); }