aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Migrator.php
diff options
context:
space:
mode:
authorGravatar Thomas Renes <thomas@renesweb.nl> 2022-01-08 16:25:17 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-08 16:25:17 +0100
commit916df412f5b6f7fb9bcfb705a3c8c23e35304410 (patch)
treed87c483688575cb5a6b674849e2aefa2052116c8 /lib/Minz/Migrator.php
parent127b7f0a3aad7012055c058e8aba0d27192a8cbc (diff)
Fix various typos and spelling errors in documentation, comments and code. (#4134)
Diffstat (limited to 'lib/Minz/Migrator.php')
-rw-r--r--lib/Minz/Migrator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Migrator.php b/lib/Minz/Migrator.php
index 71abbff3e..7afc5240e 100644
--- a/lib/Minz/Migrator.php
+++ b/lib/Minz/Migrator.php
@@ -45,7 +45,7 @@ class Minz_Migrator
return basename($filename, '.php');
}, $migration_files);
- // We apply a "low-cost" comparaison to avoid to include the migration
+ // We apply a "low-cost" comparison to avoid to include the migration
// files at each run. It is equivalent to the upToDate method.
if (count($applied_migrations) === count($migration_versions) &&
empty(array_diff($applied_migrations, $migration_versions))) {
@@ -239,7 +239,7 @@ class Minz_Migrator
* Migrate the system to the latest version.
*
* It only executes migrations AFTER the current version. If a migration
- * returns false or fails, it immediatly stops the process.
+ * returns false or fails, it immediately stops the process.
*
* If the migration doesn't return false nor raise an exception, it is
* considered as successful. It is considered as good practice to return