Skip to content

Commit 28d9863

Browse files
committed
cs
1 parent 8060d76 commit 28d9863

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Issues/GitHub/MilestonesApi.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Github\Api\Issue\Milestones;
99

1010
/**
11-
*
1211
* @author Tobias Nyholm <[email protected]>
1312
*/
1413
class MilestonesApi
@@ -50,7 +49,7 @@ private function getMilestones(Repository $repository)
5049
return $this->cache[$key];
5150
}
5251

53-
public function updateMilestone(Repository $repository, int $issueNumber, string $milestoneName)
52+
public function updateMilestone(Repository $repository, int $issueNumber, string $milestoneName)
5453
{
5554
$milestoneNumber = null;
5655
foreach ($this->getMilestones($repository) as $milestone) {

src/Subscriber/MilestoneNewPRSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(MilestonesApi $milestonesApi)
2323
}
2424

2525
/**
26-
* Adds a "Needs Review" label to new PRs.
26+
* Sets milestone on PRs that target non-default branch.
2727
*
2828
* @param GitHubEvent $event
2929
*/

0 commit comments

Comments
 (0)