refactor: renames traits

This commit is contained in:
Nuno Maduro
2021-06-15 23:05:57 +01:00
parent 624f6e0acc
commit 8d670b4ed7
6 changed files with 14 additions and 14 deletions

View File

@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace Pest\Concerns;
use Pest\Expectation;
/**
* @internal
*/
trait Expectable
{
/**
* Creates a new expectation.
*
* @param mixed $value
*/
public function expect($value): Expectation
{
return new Expectation($value);
}
}