tidy indenting
This commit is contained in:
parent
1ba0f72145
commit
a777a798a2
@ -7,7 +7,7 @@ class Gitea{
|
||||
$this->pass=$pass;
|
||||
}
|
||||
|
||||
public function getIssues($user,$repo){
|
||||
public function getIssues($user,$repo){
|
||||
$page=1;
|
||||
while(1){
|
||||
$issues=$this->request("repos/$user/$repo/issues?page=$page");
|
||||
@ -17,10 +17,9 @@ public function getIssues($user,$repo){
|
||||
}
|
||||
$page++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function request($url, $postFields = null)
|
||||
{
|
||||
public function request($url, $postFields = null){
|
||||
$url=$this->url.$url;
|
||||
echo ">> $url\n";
|
||||
$ch = curl_init();
|
||||
|
Loading…
Reference in New Issue
Block a user