瀏覽代碼

Merge pull request #144 from Problematic/repo_typo_fix

fixed typo in loggable repo#revert() method
Christophe Coevoet 13 年之前
父節點
當前提交
4e5ad66173
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Gedmo/Loggable/Entity/Repository/LogEntryRepository.php

+ 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);