Skip to content

Commit c881642

Browse files
committed
Fix command registration
1 parent 8c507d1 commit c881642

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Laravel API Documentation Generator
22

3-
Automatically generate your API documentation from your existing Laravel routes.
3+
Automatically generate your API documentation from your existing Laravel routes. Take a look at the [example documentation](http://marcelpociot.com/whiteboard/).
44

55
`php artisan api:gen --routePrefix=settings/api/*`
66

src/Mpociot/ApiDoc/ApiDocGeneratorServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ public function register()
3131
return new UpdateDocumentation();
3232
});
3333

34-
$this->commands(
34+
$this->commands([
3535
'apidoc.generate',
3636
'apidoc.update',
37-
);
37+
]);
3838
}
3939

4040
}

0 commit comments

Comments
 (0)