diff --git a/src/Symfony/Component/TypeInfo/README.md b/src/Symfony/Component/TypeInfo/README.md index e803d9c18e4e0..ac2a8d0ff55b6 100644 --- a/src/Symfony/Component/TypeInfo/README.md +++ b/src/Symfony/Component/TypeInfo/README.md @@ -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 ```