Skip to content

Commit ac70e50

Browse files
authored
Change error message for when neither of required options is supplied
1 parent 789413c commit ac70e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mpociot/ApiDoc/Commands/GenerateDocumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function handle()
7676
$this->setUserToBeImpersonated($this->option('actAsUserId'));
7777

7878
if ($routePrefix === null && $routeDomain === null && ! count($allowedRoutes) && $middleware === null) {
79-
$this->error('You must provide either a route prefix or a route domain or a middleware to generate the documentation.');
79+
$this->error('You must provide either a route prefix, a route domain, a route or a middleware to generate the documentation.');
8080

8181
return false;
8282
}

0 commit comments

Comments
 (0)