Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioBatSilva committed Mar 26, 2012
1 parent 67af9f1 commit 6d1209c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Mapping/MappingException.php
Expand Up @@ -36,7 +36,7 @@ public static function identifierRequired($entityName)
{
if (null !== ($parent = get_parent_class($entityName))) {
return new self(sprintf(
'No identifier/primary key specified for Entity "%s" sub classe of "%s". Every Entity must have an identifier/primary key.',
'No identifier/primary key specified for Entity "%s" sub class of "%s". Every Entity must have an identifier/primary key.',
$entityName, $parent
));
}
Expand Down Expand Up @@ -156,7 +156,7 @@ public static function classIsNotAValidEntityOrMappedSuperClass($className)
{
if (null !== ($parent = get_parent_class($className))) {
return new self(sprintf(
'Class "%s" sub classe of "%s" is not a valid entity or mapped super class.',
'Class "%s" sub class of "%s" is not a valid entity or mapped super class.',
$className, $parent
));
}
Expand Down
Expand Up @@ -469,7 +469,7 @@ public function testDiscriminatorColumnDefinition()
/**
* @group DDC-889
* @expectedException Doctrine\ORM\Mapping\MappingException
* @expectedExceptionMessage Class "Doctrine\Tests\Models\DDC889\DDC889Class" sub classe of "Doctrine\Tests\Models\DDC889\DDC889SuperClass" is not a valid entity or mapped super class.
* @expectedExceptionMessage Class "Doctrine\Tests\Models\DDC889\DDC889Class" sub class of "Doctrine\Tests\Models\DDC889\DDC889SuperClass" is not a valid entity or mapped super class.
*/
public function testInvalidEntityOrMappedSuperClassShouldMentionParentClasses()
{
Expand All @@ -479,7 +479,7 @@ public function testInvalidEntityOrMappedSuperClassShouldMentionParentClasses()
/**
* @group DDC-889
* @expectedException Doctrine\ORM\Mapping\MappingException
* @expectedExceptionMessage No identifier/primary key specified for Entity "Doctrine\Tests\Models\DDC889\DDC889Entity" sub classe of "Doctrine\Tests\Models\DDC889\DDC889SuperClass". Every Entity must have an identifier/primary key.
* @expectedExceptionMessage No identifier/primary key specified for Entity "Doctrine\Tests\Models\DDC889\DDC889Entity" sub class of "Doctrine\Tests\Models\DDC889\DDC889SuperClass". Every Entity must have an identifier/primary key.
*/
public function testIdentifierRequiredShouldMentionParentClasses()
{
Expand Down

0 comments on commit 6d1209c

Please sign in to comment.