mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
refactor: generic attribute
This commit is contained in:
@ -4,6 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace Pest\Expectations;
|
||||
|
||||
use Attribute;
|
||||
use Pest\Arch\Contracts\ArchExpectation;
|
||||
use Pest\Arch\Expectations\Targeted;
|
||||
use Pest\Arch\Expectations\ToBeUsedIn;
|
||||
@ -381,7 +382,7 @@ final class OppositeExpectation
|
||||
/**
|
||||
* Asserts that the given expectation target not to have the given attribute.
|
||||
*
|
||||
* @param class-string $attribute
|
||||
* @param class-string<Attribute> $attribute
|
||||
*/
|
||||
public function toHaveAttribute(string $attribute): ArchExpectation
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user