chore: coding style changes

This commit is contained in:
nuno maduro
2026-08-07 14:52:56 +01:00
parent eb88513baf
commit 42d9b777bf
221 changed files with 139 additions and 3086 deletions
+1 -11
View File
@@ -12,19 +12,14 @@ use Pest\Expectation;
*/
final readonly class HigherOrderCallables
{
/**
* Creates a new Higher Order Callables instances.
*/
public function __construct(private object $target)
{
// ..
//
}
/**
* @template TValue
*
* Create a new expectation. Callable values will be executed prior to returning the new expectation.
*
* @param (Closure():TValue)|TValue $value
* @return Expectation<TValue>
*/
@@ -39,8 +34,6 @@ final readonly class HigherOrderCallables
/**
* @template TValue
*
* Create a new expectation. Callable values will be executed prior to returning the new expectation.
*
* @param callable|TValue $value
* @return Expectation<(callable(): mixed)|TValue>
*/
@@ -50,9 +43,6 @@ final readonly class HigherOrderCallables
return $this->expect($value);
}
/**
* Execute the given callable after the test has executed the setup method.
*/
public function defer(callable $callable): object
{
Reflection::bindCallableWithData($callable);