refacto: pipes

This commit is contained in:
Nuno Maduro
2021-12-05 14:21:11 +00:00
parent c8697e0310
commit e64b6fe924
3 changed files with 110 additions and 109 deletions

View File

@ -19,11 +19,11 @@ if (!function_exists('expect')) {
*
* @template TValue
*
* @param TValue $value the Value
* @param TValue $value
*
* @return Expectation<TValue>
*/
function expect($value = null): Expectation
function expect(mixed $value = null): Expectation
{
return new Expectation($value);
}