ソースを参照

Merge pull request #144 from Problematic/repo_typo_fix

fixed typo in loggable repo#revert() method
Christophe Coevoet 13 年 前
コミット
4e5ad66173

+ 1 - 1
lib/Gedmo/Loggable/Entity/Repository/LogEntryRepository.php

@@ -109,7 +109,7 @@ class LogEntryRepository extends EntityRepository
                 $filled = count($fields) === 0;
             }
             if (count($fields)) {
-                throw new \Gedmo\Exception\UnexpectedValueException('Cound not fully revert the entity to version: '.$version);
+                throw new \Gedmo\Exception\UnexpectedValueException('Could not fully revert the entity to version: '.$version);
             }
         } else {
             throw new \Gedmo\Exception\UnexpectedValueException('Count not find any log entries under version: '.$version);