Procházet zdrojové kódy

fixed typo in loggable repo#revert() method

Derek Stobbe před 13 roky
rodič
revize
99fbe2c7ea

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