File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 77 "php" : " >=5.4.0" ,
88 "netresearch/jsonmapper" : " ~0.11" ,
99 "monolog/monolog" : " ~1.12" ,
10- "vlucas/phpdotenv" : " ~2.0" ,
11- "symfony/var-dumper" : " ~2.8|~3.0"
10+ "vlucas/phpdotenv" : " ~2.0"
1211 },
1312 "require-dev" : {
1413 "phpunit/phpunit" : " ~4.4" ,
15- "mockery/mockery" : " ^0.9.4"
14+ "mockery/mockery" : " ^0.9.4" ,
15+ "symfony/var-dumper" : " ~2.8|~3.0"
1616 },
1717 "license" : " Apache 2.0" ,
1818 "authors" : [
Original file line number Diff line number Diff line change 22
33namespace JiraRestApi \Field ;
44
5- use JiraRestApi \Dumper ;
6-
75class FieldService extends \JiraRestApi \JiraClient
86{
97 private $ uri = '/field ' ;
@@ -46,7 +44,9 @@ public function getCustomFieldOption($id)
4644 {
4745 $ ret = $ this ->exec ('/customFieldOption ' , null );
4846
49- Dumper::dd ($ ret );
47+ $ this ->log ->addDebug ("Create Field= \n" . $ ret );
48+
49+ return $ ret ;
5050 }
5151
5252 /**
@@ -60,7 +60,7 @@ public function create(Field $field)
6060 {
6161 $ data = json_encode ($ field );
6262
63- $ this ->log ->addInfo ("Create Field= \n" . $ data );
63+ $ this ->log ->addInfo ("Create Field= \n" . $ data );
6464
6565 $ ret = $ this ->exec ($ this ->uri , $ data , 'POST ' );
6666
You can’t perform that action at this time.
0 commit comments