diff --git a/src/Netresearch/TimeTrackerBundle/Controller/CrudController.php b/src/Netresearch/TimeTrackerBundle/Controller/CrudController.php index 0ae74506..8371da96 100644 --- a/src/Netresearch/TimeTrackerBundle/Controller/CrudController.php +++ b/src/Netresearch/TimeTrackerBundle/Controller/CrudController.php @@ -736,7 +736,7 @@ protected function handleInternalJiraTicketSystem($entry, $oldEntry) $project->getInternalJiraProjectKey(), $strTicket ), - 'key,summary', + ['key', 'summary'], 1 ); diff --git a/src/Netresearch/TimeTrackerBundle/Helper/JiraOAuthApi.php b/src/Netresearch/TimeTrackerBundle/Helper/JiraOAuthApi.php index 21ef4e71..1b29007b 100644 --- a/src/Netresearch/TimeTrackerBundle/Helper/JiraOAuthApi.php +++ b/src/Netresearch/TimeTrackerBundle/Helper/JiraOAuthApi.php @@ -417,7 +417,7 @@ public function createTicket(Entry $entry) /** * @param string $jql - * @param string $fields + * @param array $fields * @param int $limit * @return \stdClass * @throws JiraApiException @@ -425,7 +425,7 @@ public function createTicket(Entry $entry) */ public function searchTicket($jql, $fields, $limit = 1) { - //we use POST to support very large queries + // we use POST to support very large queries return $this->post( "search/", [