Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Nov 16, 2023
1 parent 98929ac commit 2c00353
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/9.0/reader/record-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,6 @@ one of its argument with the name <code>$reflectionProperty</code>. This means y
```php
<php

declare(strict_types=1);

namespace App\Domain\Money;

use League\Csv\Serializer\MappingFailed;
Expand All @@ -433,7 +431,7 @@ use League\Csv\Serializer\TypeCastingFailed;
final class CastToNaira implements TypeCasting
{
private readonly bool $isNullable;
private readonly Naira $default;
private readonly ?Naira $default;

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

0 comments on commit 2c00353

Please sign in to comment.