Skip to content

Commit a33e0f9

Browse files
committed
fixing test and psalm
1 parent 9595770 commit a33e0f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Repository/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Repository
2222
/**
2323
* The webhook secret used by GitHub.
2424
*
25-
* @var string
25+
* @var string|null
2626
*/
2727
private $secret;
2828

tests/Subscriber/MilestoneNewPRSubscriberTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected function setUp()
2727
{
2828
$this->milestonesApi = $this->createMock(MilestonesApi::class);
2929
$this->subscriber = new MilestoneNewPRSubscriber($this->milestonesApi);
30-
$this->repository = new Repository('nyholm', 'symfony', [], null);
30+
$this->repository = new Repository('nyholm', 'symfony', null);
3131

3232
$this->dispatcher = new EventDispatcher();
3333
$this->dispatcher->addSubscriber($this->subscriber);

0 commit comments

Comments
 (0)