mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
22 lines
401 B
PHP
22 lines
401 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Contracts;
|
|
|
|
use Pest\Factories\TestCaseMethodFactory;
|
|
|
|
/**
|
|
* @interal
|
|
*/
|
|
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;
|
|
}
|