Skip to content

Commit

Permalink
Fixed lowercasing module names in dsl routes provider
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Aug 17, 2024
1 parent 5dcd667 commit 904b6a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function all() : array
throw new \RuntimeException('Module is required for DSL definition, non given for: ' . $definition->path());
}

$sources[] = new Source('documentation_dsl_function', ['module' => $definition->module()->name, 'function' => $definition->slug()]);
$sources[] = new Source('documentation_dsl_function', ['module' => mb_strtolower($definition->module()->name), 'function' => $definition->slug()]);
}

return $sources;
Expand Down

0 comments on commit 904b6a8

Please sign in to comment.