mirror of
https://github.com/pestphp/pest.git
synced 2026-12-03 22:45:06 +01:00
fix: allow dynamic properties on TestCall (#2085)
This commit is contained in:
committed by
GitHub
parent
8d004b80d7
commit
249a120d89
@@ -4,6 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace Pest\PendingCalls;
|
||||
|
||||
use AllowDynamicProperties;
|
||||
use Closure;
|
||||
use Pest\Concerns\Testable;
|
||||
use Pest\Exceptions\InvalidArgumentException;
|
||||
@@ -34,7 +35,8 @@ use PHPUnit\Framework\TestCase;
|
||||
*
|
||||
* @mixin HigherOrderCallables|TestCase|Testable
|
||||
*/
|
||||
final class TestCall // @phpstan-ignore-line
|
||||
#[AllowDynamicProperties] // @phpstan-ignore-line
|
||||
final class TestCall
|
||||
{
|
||||
use Describable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user