Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #307

Closed
wants to merge 2 commits into from
Closed

Develop #307

wants to merge 2 commits into from

Conversation

rmuradyan
Copy link

Fixed error in IssueService::getComments method.

@@ -169,8 +169,10 @@ public function addAttachments($issueIdOrKey, $filePathArray)
array_push($attachArr, $t);
}
} elseif (is_object($ret)) {
array_push($attachArr, $this->json_mapper->map(
$ret, new Attachment()
array_push($attachArr,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opening parenthesis of a multi-line function call must be the last content on the line

json_decode($ret), new Comment()
);
$comments = $this->json_mapper->map(
json_decode($ret), new Comments()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one argument is allowed per line in a multi-line function call

@lesstif
Copy link
Owner

lesstif commented Mar 30, 2020

duplicated #305

@lesstif lesstif closed this Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants