diff --git a/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php b/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php index c61e26d4c..ab1cc15de 100644 --- a/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php +++ b/lib/Doctrine/ORM/Event/PreUpdateEventArgs.php @@ -90,7 +90,7 @@ class PreUpdateEventArgs extends LifecycleEventArgs if (!isset($this->_entityChangeSet[$field])) { throw new \InvalidArgumentException( "Field '".$field."' is not a valid field of the entity ". - "'".get_class($this->getEntity())."' in PreInsertUpdateEventArgs." + "'".get_class($this->getEntity())."' in PreUpdateEventArgs." ); } }