Skip to content

Commit 9479d89

Browse files
Fixed typos
1 parent b51430f commit 9479d89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Api/Issues.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function closedByMergeRequests($project_id, int $issue_iid)
399399
*/
400400
public function relatedMergeRequests($project_id, int $issue_iid)
401401
{
402-
return $this->get($this->getProjectPath($project_id, 'issues/'.$this::encodePath($issue_iid).'/related_merge_requests'));
402+
return $this->get($this->getProjectPath($project_id, 'issues/'.self::encodePath($issue_iid).'/related_merge_requests'));
403403
}
404404

405405
/**

src/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ public function boards($project_id)
530530
*/
531531
public function getRepositoryCommitDiscussions($project_id, string $commit_id)
532532
{
533-
return $this->get($this->getProjectPath($project_id, 'repository/commits/'.$this::encodePath($commit_id)).'/discussions');
533+
return $this->get($this->getProjectPath($project_id, 'repository/commits/'.self::encodePath($commit_id)).'/discussions');
534534
}
535535

536536
/**

0 commit comments

Comments
 (0)