Skip to content

Commit 2c724c9

Browse files
committed
StyleCI fixes
Fixing the issues reported in <https://github.styleci.io/analyses/z3k5EY>.
1 parent 514eaf2 commit 2c724c9

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/Issue/Worklog.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function setComment($comment)
8989

9090
// Note that in the docblock below, you cannot replace `mixed` by `\DateTimeInterface|string` because JsonMapper doesn't support that,
9191
// see <https://github.com/cweiske/jsonmapper/issues/64#issuecomment-269545585>.
92+
9293
/**
9394
* Function to set start time of worklog.
9495
*

src/JiraClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function __construct(ConfigurationInterface $configuration = null, Logger
8282
$this->json_mapper->undefinedPropertyHandler = [new \JiraRestApi\JsonMapperHelper(), 'setUndefinedProperty'];
8383

8484
// Properties that are annotated with `@var \DateTimeInterface` should result in \DateTime objects being created.
85-
$this->json_mapper->classMap['\\' . \DateTimeInterface::class] = \DateTime::class;
85+
$this->json_mapper->classMap['\\'.\DateTimeInterface::class] = \DateTime::class;
8686

8787
// create logger
8888
if ($logger) {

tests/AssigneeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function setUp()
1515
{
1616
$this->mapper = new JsonMapper();
1717
$this->mapper->undefinedPropertyHandler = [new \JiraRestApi\JsonMapperHelper(), 'setUndefinedProperty'];
18-
$this->mapper->classMap['\\' . \DateTimeInterface::class] = \DateTime::class;
18+
$this->mapper->classMap['\\'.\DateTimeInterface::class] = \DateTime::class;
1919
}
2020

2121
public function tearDown()

tests/MapperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function setUp()
1717
{
1818
$this->mapper = new JsonMapper();
1919
$this->mapper->undefinedPropertyHandler = [new \JiraRestApi\JsonMapperHelper(), 'setUndefinedProperty'];
20-
$this->mapper->classMap['\\' . \DateTimeInterface::class] = \DateTime::class;
20+
$this->mapper->classMap['\\'.\DateTimeInterface::class] = \DateTime::class;
2121
}
2222

2323
public function tearDown()

0 commit comments

Comments
 (0)