We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98929ac commit 2c00353Copy full SHA for 2c00353
docs/9.0/reader/record-mapping.md
@@ -419,8 +419,6 @@ one of its argument with the name <code>$reflectionProperty</code>. This means y
419
```php
420
<php
421
422
-declare(strict_types=1);
423
-
424
namespace App\Domain\Money;
425
426
use League\Csv\Serializer\MappingFailed;
@@ -433,7 +431,7 @@ use League\Csv\Serializer\TypeCastingFailed;
433
431
final class CastToNaira implements TypeCasting
434
432
{
435
private readonly bool $isNullable;
436
- private readonly Naira $default;
+ private readonly ?Naira $default;
437
438
public function __construct(
439
ReflectionProperty|ReflectionParameter $reflectionProperty, //always given by the Denormalizer
0 commit comments