Skip to content

Commit c717a60

Browse files
committed
Fixed typo
1 parent 7f4e277 commit c717a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/Issue/GithubIssueApi.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function open(Repository $repository, string $title, string $body, array
3131
];
3232

3333
$issueNumber = null;
34-
$exitingIssues = $this->searchApi->issues(sprintf('repo:%s "%s" is:open author:%s', $repository->getFullName(), $title, $this->botUsername));
35-
foreach ($exitingIssues['items'] ?? [] as $issue) {
34+
$existingIssues = $this->searchApi->issues(sprintf('repo:%s "%s" is:open author:%s', $repository->getFullName(), $title, $this->botUsername));
35+
foreach ($existingIssues['items'] ?? [] as $issue) {
3636
$issueNumber = $issue['number'];
3737
}
3838

0 commit comments

Comments
 (0)