mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: adjusts tests
This commit is contained in:
@ -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,
|
||||
) {
|
||||
// ...
|
||||
}
|
||||
|
||||
@ -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)
|
||||
{
|
||||
// ..
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user