mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Renames tap to defer.
This commit is contained in:
@ -52,9 +52,9 @@ final class HigherOrderCallables
|
||||
}
|
||||
|
||||
/**
|
||||
* Tap into the test case to perform an action and return the test case.
|
||||
* Execute the given callable after the test has executed the setup method.
|
||||
*/
|
||||
public function tap(callable $callable): object
|
||||
public function defer(callable $callable): object
|
||||
{
|
||||
Reflection::bindCallableWithData($callable);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user