mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Merge pull request #1266 from julien-boudry/3.x
Fix #1265 - issue parameter cannot be int (one done, pr, todo, wip)
This commit is contained in:
@ -358,8 +358,8 @@ final class TestCall
|
|||||||
public function todo(// @phpstan-ignore-line
|
public function todo(// @phpstan-ignore-line
|
||||||
array|string|null $note = null,
|
array|string|null $note = null,
|
||||||
array|string|null $assignee = null,
|
array|string|null $assignee = null,
|
||||||
array|string|null $issue = null,
|
array|string|int|null $issue = null,
|
||||||
array|string|null $pr = null,
|
array|string|int|null $pr = null,
|
||||||
): self {
|
): self {
|
||||||
$this->skip('__TODO__');
|
$this->skip('__TODO__');
|
||||||
|
|
||||||
@ -390,8 +390,8 @@ final class TestCall
|
|||||||
public function wip(// @phpstan-ignore-line
|
public function wip(// @phpstan-ignore-line
|
||||||
array|string|null $note = null,
|
array|string|null $note = null,
|
||||||
array|string|null $assignee = null,
|
array|string|null $assignee = null,
|
||||||
array|string|null $issue = null,
|
array|string|int|null $issue = null,
|
||||||
array|string|null $pr = null,
|
array|string|int|null $pr = null,
|
||||||
): self {
|
): self {
|
||||||
if ($issue !== null) {
|
if ($issue !== null) {
|
||||||
$this->issue($issue);
|
$this->issue($issue);
|
||||||
@ -418,8 +418,8 @@ final class TestCall
|
|||||||
public function done(// @phpstan-ignore-line
|
public function done(// @phpstan-ignore-line
|
||||||
array|string|null $note = null,
|
array|string|null $note = null,
|
||||||
array|string|null $assignee = null,
|
array|string|null $assignee = null,
|
||||||
array|string|null $issue = null,
|
array|string|int|null $issue = null,
|
||||||
array|string|null $pr = null,
|
array|string|int|null $pr = null,
|
||||||
): self {
|
): self {
|
||||||
if ($issue !== null) {
|
if ($issue !== null) {
|
||||||
$this->issue($issue);
|
$this->issue($issue);
|
||||||
|
|||||||
Reference in New Issue
Block a user