Renames tap to defer.

This commit is contained in:
Luke Downing
2022-01-23 23:18:55 +00:00
parent d2ca6e630d
commit b99f65d936
2 changed files with 7 additions and 7 deletions

View File

@ -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);