fix indenting
This commit is contained in:
parent
e378c2ee6d
commit
4290eab80a
@ -28,12 +28,12 @@ class Gitea{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function addLabelsToIssue($issue,$labels){
|
public function addLabelsToIssue($issue,$labels){
|
||||||
$args=['labels'=>$labels];
|
$args=['labels'=>$labels];
|
||||||
return $this->request($issue->url.'/labels','POST',$args);
|
return $this->request($issue->url.'/labels','POST',$args);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function removeLabelFromIssue($issue,$id){
|
public function removeLabelFromIssue($issue,$id){
|
||||||
return $this->request($issue->url."/labels/$id",'DELETE');
|
return $this->request($issue->url."/labels/$id",'DELETE');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addComment($issue,$body){
|
public function addComment($issue,$body){
|
||||||
|
Loading…
Reference in New Issue
Block a user