1
0
mirror of synced 2025-01-18 06:21:40 +03:00

remove unused parameter

This commit is contained in:
Fabio B. Silva 2012-02-13 23:43:19 -02:00
parent cdde6e8a5c
commit da9b2e805e

View File

@ -1938,7 +1938,7 @@ class ClassMetadataInfo implements ClassMetadata
{
if ($columnDef !== null) {
if ( ! isset($columnDef['name'])) {
throw MappingException::nameIsMandatoryForDiscriminatorColumns($this->name, $columnDef);
throw MappingException::nameIsMandatoryForDiscriminatorColumns($this->name);
}
if (isset($this->fieldNames[$columnDef['name']])) {