Commit ff7707ed authored by Mickael GOETZ's avatar Mickael GOETZ

fix grammar in DBALException messages

- have forgot -> have forgotten
- larger or equal to 0 -> larger than or equal to 0
parent 1c6f63df
......@@ -214,7 +214,7 @@ class DBALException extends \Exception
*/
public static function limitOffsetInvalid()
{
return new self("Invalid Offset in Limit Query, it has to be larger or equal to 0.");
return new self("Invalid Offset in Limit Query, it has to be larger than or equal to 0.");
}
/**
......@@ -237,7 +237,7 @@ class DBALException extends \Exception
return new self('Unknown column type "'.$name.'" requested. Any Doctrine type that you use has ' .
'to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the ' .
'known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database ' .
'introspection then you might have forgot to register all database types for a Doctrine Type. Use ' .
'introspection then you might have forgotten to register all database types for a Doctrine Type. Use ' .
'AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement ' .
'Type#getMappedDatabaseTypes(). If the type name is empty you might ' .
'have a problem with the cache or forgot some mapping information.'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment