This is part of the last sentence under the section on BFS-based construction, [hyperlink](https://cp-algorithms.com/string/aho_corasick.html#bfs-based-construction). I believe they talk about having $O(n \log k)$ instead of $O(m \log k)$, where $n$ is the number of vertices in the trie.