Skip to content

Commit dbbf0ca

Browse files
committed
style: clear code
1 parent aa8e0fa commit dbbf0ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/Coding/Project.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace App\Coding;
44

5-
use Exception;
6-
75
class Project extends Base
86
{
97
public function getIssueTypes($token, $projectName)
@@ -14,10 +12,10 @@ public function getIssueTypes($token, $projectName)
1412
'Authorization' => "token ${token}",
1513
'Content-Type' => 'application/json'
1614
],
17-
'json' => array_merge([
15+
'json' => [
1816
'Action' => 'DescribeProjectIssueTypeList',
1917
'ProjectName' => $projectName,
20-
]),
18+
],
2119
]);
2220
$result = json_decode($response->getBody(), true);
2321
return $result['Response']['IssueTypes'];

0 commit comments

Comments
 (0)