mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Fix property type
This commit is contained in:
@ -51,9 +51,9 @@ final class TestCall
|
|||||||
/**
|
/**
|
||||||
* This property is not actually used in the codebase, it's only here to make Rector happy.
|
* This property is not actually used in the codebase, it's only here to make Rector happy.
|
||||||
*
|
*
|
||||||
* @var string|array<class-string|string>
|
* @var array<class-string|string>
|
||||||
*/
|
*/
|
||||||
public array|string $references;
|
public array $references;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new Pending Call.
|
* Creates a new Pending Call.
|
||||||
@ -632,7 +632,7 @@ final class TestCall
|
|||||||
public function reference(string|array ...$classes): self
|
public function reference(string|array ...$classes): self
|
||||||
{
|
{
|
||||||
// For rector
|
// For rector
|
||||||
$this->references = $classes; // @phpstan-ignore-line
|
$this->references = $classes;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user