Skip to content

Commit a5267dc

Browse files
authored
Merge pull request #407 from ezra-obiwale/patch-1
Update GenerateDocumentation.php
2 parents cda59f2 + 3b35475 commit a5267dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/GenerateDocumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(RouteMatcher $routeMatcher)
4545
*/
4646
public function handle()
4747
{
48-
$usingDingoRouter = config('apidoc.router') == 'dingo';
48+
$usingDingoRouter = strtolower(config('apidoc.router')) == 'dingo';
4949
if ($usingDingoRouter) {
5050
$routes = $this->routeMatcher->getDingoRoutesToBeDocumented(config('apidoc.routes'));
5151
} else {

0 commit comments

Comments
 (0)