diff --git a/docs/language/learn-ql/java/types-class-hierarchy.rst b/docs/language/learn-ql/java/types-class-hierarchy.rst
index c18adb65bf50..76c9d803925f 100644
--- a/docs/language/learn-ql/java/types-class-hierarchy.rst
+++ b/docs/language/learn-ql/java/types-class-hierarchy.rst
@@ -141,7 +141,7 @@ Using these new classes we can extend our query to exclude calls to ``toArray``
not ce.getExpr().(CollectionToArrayCall).getActualReturnType() = target
select ce, "Potentially problematic array downcast."
-➤ `See this in the query console on LGTM.com `__. Notice that fewer results are found by this improved query.
+➤ `See this in the query console on LGTM.com `__. Notice that fewer results are found by this improved query.
Example: Finding mismatched contains checks
-------------------------------------------