Skip to content

Commit

Permalink
Fix #1265 - issue parameter cannot be int (one done, pr, todo, wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-boudry committed Sep 19, 2024
1 parent 689da4e commit 669dc0d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/PendingCalls/TestCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ public function repeat(int $times): self
public function todo(// @phpstan-ignore-line
array|string|null $note = null,
array|string|null $assignee = null,
array|string|null $issue = null,
array|string|null $pr = null,
array|string|int|null $issue = null,
array|string|int|null $pr = null,
): self {
$this->skip('__TODO__');

Expand Down Expand Up @@ -390,8 +390,8 @@ public function todo(// @phpstan-ignore-line
public function wip(// @phpstan-ignore-line
array|string|null $note = null,
array|string|null $assignee = null,
array|string|null $issue = null,
array|string|null $pr = null,
array|string|int|null $issue = null,
array|string|int|null $pr = null,
): self {
if ($issue !== null) {
$this->issue($issue);
Expand All @@ -418,8 +418,8 @@ public function wip(// @phpstan-ignore-line
public function done(// @phpstan-ignore-line
array|string|null $note = null,
array|string|null $assignee = null,
array|string|null $issue = null,
array|string|null $pr = null,
array|string|int|null $issue = null,
array|string|int|null $pr = null,
): self {
if ($issue !== null) {
$this->issue($issue);
Expand Down

0 comments on commit 669dc0d

Please sign in to comment.