diff --git a/src/Driver/CompilerCache.php b/src/Driver/CompilerCache.php index 2968a3d2..7960ef30 100644 --- a/src/Driver/CompilerCache.php +++ b/src/Driver/CompilerCache.php @@ -171,7 +171,7 @@ protected function hashSelectQuery(QueryParameters $params, array $tokens): stri $hash .= $this->hashColumns($params, $tokens['columns']); foreach ($tokens['join'] as $join) { - $hash .= 'j' . $join['alias'] . $join['type']; + $hash .= 'j' . $join['alias'] . \str_replace(['JOIN', ' '], '', $join['type']); if ($join['outer'] instanceof SelectQuery) { $hash .= $join['outer']->getPrefix() === null ? '' : 'p_' . $join['outer']->getPrefix();