Kaynağa Gözat

fixed typo in loggable repo#revert() method

Derek Stobbe 13 yıl önce
ebeveyn
işleme
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);