diff --git a/src/JiraClient.php b/src/JiraClient.php index b238f36d..348fb4bc 100644 --- a/src/JiraClient.php +++ b/src/JiraClient.php @@ -79,6 +79,9 @@ public function __construct(ConfigurationInterface $configuration = null, Logger // Properties that are annotated with `@var \DateTimeInterface` should result in \DateTime objects being created. $this->json_mapper->classMap['\\'.\DateTimeInterface::class] = \DateTime::class; + // Just class mapping is not enough, bStrictObjectTypeChecking must be set to false. + $this->json_mapper->bStrictObjectTypeChecking = false; + // create logger if ($this->configuration->getJiraLogEnabled()) { if ($logger) {