chore: adjusts tests

This commit is contained in:
Nuno Maduro
2024-09-03 14:09:03 +01:00
parent 8920b850e1
commit e2d360b1b5
36 changed files with 187 additions and 84 deletions

View File

@ -10,7 +10,7 @@ use SebastianBergmann\RecursionContext\Context;
/**
* @internal
*/
final class Exporter
final readonly class Exporter
{
/**
* The maximum number of items in an array to export.
@ -21,7 +21,7 @@ final class Exporter
* Creates a new Exporter instance.
*/
public function __construct(
private readonly BaseExporter $exporter,
private BaseExporter $exporter,
) {
// ...
}

View File

@ -10,12 +10,12 @@ use Pest\Expectation;
/**
* @internal
*/
final class HigherOrderCallables
final readonly class HigherOrderCallables
{
/**
* Creates a new Higher Order Callables instances.
*/
public function __construct(private readonly object $target)
public function __construct(private object $target)
{
// ..
}