fix: allow dynamic properties on TestCall (#2085)

This commit is contained in:
Lazizbek Ergashev
2026-11-27 10:51:01 +05:00
committed by GitHub
parent 8d004b80d7
commit 249a120d89
+3 -1
View File
@@ -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;