Skip to content

Commit 6eafd3e

Browse files
committed
make the properties of AbstractSchemaInnerParse final
1 parent ed32865 commit 6eafd3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Schema/AbstractSchemaInnerParse.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99

1010
abstract class AbstractSchemaInnerParse implements SchemaInterface
1111
{
12-
protected bool $nullable = false;
12+
final protected bool $nullable = false;
1313

1414
/**
1515
* @var array<\Closure(mixed): mixed>
1616
*/
17-
protected array $preParses = [];
17+
final protected array $preParses = [];
1818

1919
/**
2020
* @var array<\Closure>
2121
*/
22-
protected array $postParses = [];
22+
final protected array $postParses = [];
2323

2424
/**
2525
* @var \Closure(mixed, ErrorsException): mixed
2626
*/
27-
protected ?\Closure $catch = null;
27+
final protected ?\Closure $catch = null;
2828

2929
final public function nullable(bool $nullable = true): static
3030
{

0 commit comments

Comments
 (0)