diff --git a/Domain/Model/Helper/DateTimeHelper.php b/Domain/Model/Helper/DateTimeHelper.php index 7bba51e..bc7b054 100755 --- a/Domain/Model/Helper/DateTimeHelper.php +++ b/Domain/Model/Helper/DateTimeHelper.php @@ -58,7 +58,7 @@ public static function createOrFix($value = null, $defaultValue = null) return self::createFromString($value); } - throw new \Exception('Unkown format'); + throw new \Exception('Unknown format'); } /** diff --git a/Infrastructure/Persistence/Doctrine/LoggableMigration.php b/Infrastructure/Persistence/Doctrine/LoggableMigration.php index 4907ef8..c0c849c 100644 --- a/Infrastructure/Persistence/Doctrine/LoggableMigration.php +++ b/Infrastructure/Persistence/Doctrine/LoggableMigration.php @@ -60,7 +60,7 @@ private function logChanges(string $direction) foreach ($this->queries as $query) { $event = new EntityWasUpdated( - 'unkown', + 'unknown', 0, [ 'query' => $query, diff --git a/Infrastructure/Persistence/Doctrine/Model/Helper/CriteriaHelper.php b/Infrastructure/Persistence/Doctrine/Model/Helper/CriteriaHelper.php index 820ffb0..228f603 100755 --- a/Infrastructure/Persistence/Doctrine/Model/Helper/CriteriaHelper.php +++ b/Infrastructure/Persistence/Doctrine/Model/Helper/CriteriaHelper.php @@ -281,7 +281,7 @@ public static function append(string $operator, Criteria $baseCriteria, Criteria { $operator = strtoupper($operator); if (!in_array($operator, [CompositeExpression::TYPE_OR, CompositeExpression::TYPE_AND])) { - throw new \InvalidArgumentException('Unkown operator ' . $operator); + throw new \InvalidArgumentException('Unknown operator ' . $operator); } /** @var CompositeExpression $expression */