From 669dc0da71f0f856e3620f1211f3d6691becdf56 Mon Sep 17 00:00:00 2001 From: Julien Boudry Date: Thu, 19 Sep 2024 09:49:36 +0000 Subject: [PATCH] Fix #1265 - issue parameter cannot be int (one done, pr, todo, wip) --- src/PendingCalls/TestCall.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PendingCalls/TestCall.php b/src/PendingCalls/TestCall.php index 1b02ed1ef..9884dfffd 100644 --- a/src/PendingCalls/TestCall.php +++ b/src/PendingCalls/TestCall.php @@ -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__'); @@ -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); @@ -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);