diff --git a/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php b/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php index f165ada3e09c..74c732c5b990 100755 --- a/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/MariaDbGrammar.php @@ -8,17 +8,6 @@ class MariaDbGrammar extends MySqlGrammar { - /** - * Determine whether to use a legacy group limit clause for MySQL < 8.0. - * - * @param \Illuminate\Database\Query\Builder $query - * @return bool - */ - public function useLegacyGroupLimit(Builder $query) - { - return false; - } - /** * Compile a "lateral join" clause. * @@ -32,4 +21,15 @@ public function compileJoinLateral(JoinLateralClause $join, string $expression): { throw new RuntimeException('This database engine does not support lateral joins.'); } + + /** + * Determine whether to use a legacy group limit clause for MySQL < 8.0. + * + * @param \Illuminate\Database\Query\Builder $query + * @return bool + */ + public function useLegacyGroupLimit(Builder $query) + { + return false; + } }