@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | |
| 236 | 236 | $this->log->debug('add comment result='.\var_export($ret, true)); |
| 237 | 237 | $comment = $this->json_mapper->map( |
| 238 | - \json_decode($ret), new Comment() |
|
| 238 | + \json_decode($ret), new Comment() |
|
| 239 | 239 | ); |
| 240 | 240 | |
| 241 | 241 | return $comment; |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | $data = \json_encode(\json_decode($ret)->transitions); |
| 437 | 437 | |
| 438 | 438 | $transitions = $this->json_mapper->mapArray( |
| 439 | - \json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition' |
|
| 439 | + \json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition' |
|
| 440 | 440 | ); |
| 441 | 441 | |
| 442 | 442 | return $transitions; |
@@ -560,7 +560,7 @@ discard block |
||
| 560 | 560 | $this->log->debug("getTimeTracking res=$ret\n"); |
| 561 | 561 | |
| 562 | 562 | $issue = $this->json_mapper->map( |
| 563 | - \json_decode($ret), new Issue() |
|
| 563 | + \json_decode($ret), new Issue() |
|
| 564 | 564 | ); |
| 565 | 565 | |
| 566 | 566 | return $issue->fields->timeTracking; |
@@ -661,7 +661,7 @@ discard block |
||
| 661 | 661 | $ret = $this->exec($url, $data, $type); |
| 662 | 662 | |
| 663 | 663 | $ret_worklog = $this->json_mapper->map( |
| 664 | - \json_decode($ret), new Worklog() |
|
| 664 | + \json_decode($ret), new Worklog() |
|
| 665 | 665 | ); |
| 666 | 666 | |
| 667 | 667 | return $ret_worklog; |
@@ -708,7 +708,7 @@ discard block |
||
| 708 | 708 | $ret = $this->exec('priority', null); |
| 709 | 709 | |
| 710 | 710 | $priorities = $this->json_mapper->mapArray( |
| 711 | - \json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority' |
|
| 711 | + \json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority' |
|
| 712 | 712 | ); |
| 713 | 713 | |
| 714 | 714 | return $priorities; |
@@ -732,7 +732,7 @@ discard block |
||
| 732 | 732 | $this->log->info('Result='.$ret); |
| 733 | 733 | |
| 734 | 734 | $prio = $this->json_mapper->map( |
| 735 | - \json_decode($ret), new Priority() |
|
| 735 | + \json_decode($ret), new Priority() |
|
| 736 | 736 | ); |
| 737 | 737 | |
| 738 | 738 | return $prio; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | $ret = $this->exec($this->uri, null); |
| 21 | 21 | |
| 22 | 22 | $fields = $this->json_mapper->mapArray( |
| 23 | - \json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Field\Field' |
|
| 23 | + \json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Field\Field' |
|
| 24 | 24 | ); |
| 25 | 25 | |
| 26 | 26 | // temp array |