mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
22 lines
402 B
PHP
22 lines
402 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Contracts;
|
|
|
|
use Pest\Factories\TestCaseMethodFactory;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
interface AddsAnnotations
|
|
{
|
|
/**
|
|
* Adds annotations to the given test case method.
|
|
*
|
|
* @param array<int, string> $annotations
|
|
* @return array<int, string>
|
|
*/
|
|
public function __invoke(TestCaseMethodFactory $method, array $annotations): array;
|
|
}
|