mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Change array type hint
This commit is contained in:
@ -12,14 +12,14 @@ trait Describable
|
||||
/**
|
||||
* Note: this is property is not used; however, it gets added automatically by rector php.
|
||||
*
|
||||
* @var string[]
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public array $__describing;
|
||||
|
||||
/**
|
||||
* The describing of the test case.
|
||||
*
|
||||
* @var string[]
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public array $describing = [];
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ final class DescribeCall
|
||||
/**
|
||||
* The current describe call.
|
||||
*
|
||||
* @var string[]
|
||||
* @var array<int, string>
|
||||
*/
|
||||
private static array $describing = [];
|
||||
|
||||
@ -40,7 +40,7 @@ final class DescribeCall
|
||||
/**
|
||||
* What is the current describing.
|
||||
*
|
||||
* @return string[]
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public static function describing(): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user