Skip to content

Commit 2c00353

Browse files
committed
Improve documentation
1 parent 98929ac commit 2c00353

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/9.0/reader/record-mapping.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,6 @@ one of its argument with the name <code>$reflectionProperty</code>. This means y
419419
```php
420420
<php
421421

422-
declare(strict_types=1);
423-
424422
namespace App\Domain\Money;
425423

426424
use League\Csv\Serializer\MappingFailed;
@@ -433,7 +431,7 @@ use League\Csv\Serializer\TypeCastingFailed;
433431
final class CastToNaira implements TypeCasting
434432
{
435433
private readonly bool $isNullable;
436-
private readonly Naira $default;
434+
private readonly ?Naira $default;
437435

438436
public function __construct(
439437
ReflectionProperty|ReflectionParameter $reflectionProperty, //always given by the Denormalizer

0 commit comments

Comments
 (0)