Skip to content

Commit

Permalink
chore: update readme code typo
Browse files Browse the repository at this point in the history
  • Loading branch information
94noni authored Nov 8, 2024
1 parent 08b5abe commit 0b23ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/TypeInfo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $typeResolver->resolve('bool'); // returns a "bool" Type instance
$type = Type::list(Type::nullable(Type::bool()));

// Type instances have several helper methods
$type->getBaseType() // returns an "array" Type instance
$type->getBaseType(); // returns an "array" Type instance
$type->getCollectionKeyType(); // returns an "int" Type instance
$type->getCollectionValueType()->isNullable(); // returns true
```
Expand Down

0 comments on commit 0b23ce3

Please sign in to comment.