@@ -152,7 +152,7 @@ |
||
152 | 152 | * @param array $labels |
153 | 153 | * @return array |
154 | 154 | */ |
155 | - public function createIssue(string $title, string $body = '', string $assignee = '', int $milestone = 0, array $labels = []): array { |
|
155 | + public function createIssue(string $title, string $body = '', string $assignee = '', int $milestone = 0, array $labels = []): array { |
|
156 | 156 | return $this->getApi()->request( |
157 | 157 | $this->getApi()->sprintf('/repos/:owner/:repo/issues', $this->getOwner(), $this->getRepo()), |
158 | 158 | Request::METHOD_POST, |
@@ -460,7 +460,7 @@ discard block |
||
460 | 460 | break; |
461 | 461 | } |
462 | 462 | |
463 | - $curl->success(function (CurlClient $instance) { |
|
463 | + $curl->success(function(CurlClient $instance) { |
|
464 | 464 | $this->headers = $instance->getHeaders(); |
465 | 465 | $this->success = $instance->getResponse(); |
466 | 466 | $data = json_decode($this->success, true); |
@@ -468,7 +468,7 @@ discard block |
||
468 | 468 | $this->success = $data; |
469 | 469 | } |
470 | 470 | }); |
471 | - $curl->error(function (CurlClient $instance) { |
|
471 | + $curl->error(function(CurlClient $instance) { |
|
472 | 472 | $this->headers = $instance->getHeaders(); |
473 | 473 | $this->failure = $instance->getResponse(); |
474 | 474 | $data = json_decode($this->failure, true); |