Skip to content

Commit 1986836

Browse files
Issue w/ Mapper reference in Client.php
Line 73 fails with = $this->json_mapper = new \Jira\Mapper(); the Mapper path is wrong it works if i set it to = $this->json_mapper = new \Jira\Api\Mapper(); Need to make it Jira\Api\Mapper(); else it fails to find the mapper
1 parent 457bf43 commit 1986836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(ConfigurationInterface $configuration = null)
7070
if ($this->configuration->getMapper())
7171
$this->json_mapper = $this->configuration->getMapper();
7272
else
73-
$this->json_mapper = new \Jira\Mapper();
73+
$this->json_mapper = new \Jira\Api\Mapper();
7474

7575
self::$jMapper = $this->json_mapper;
7676
// create logger
@@ -410,4 +410,4 @@ public function getRealDate($dateObject = null, $timeZone = null) {
410410

411411
return $dateObject;
412412
}
413-
}
413+
}

0 commit comments

Comments
 (0)