Bläddra i källkod

Merge pull request #144 from Problematic/repo_typo_fix

fixed typo in loggable repo#revert() method
Christophe Coevoet 13 år sedan
förälder
incheckning
4e5ad66173
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;
                 $filled = count($fields) === 0;
             }
             }
             if (count($fields)) {
             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 {
         } else {
             throw new \Gedmo\Exception\UnexpectedValueException('Count not find any log entries under version: '.$version);
             throw new \Gedmo\Exception\UnexpectedValueException('Count not find any log entries under version: '.$version);