Skip to content

Commit cf083a4

Browse files
committed
to move vardumper to require-dev section
1 parent 4b49414 commit cf083a4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
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": [

src/Field/FieldService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace JiraRestApi\Field;
44

5-
use JiraRestApi\Dumper;
6-
75
class 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

0 commit comments

Comments
 (0)