1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-02 02:26:57 +03:00

Applied StyleCI changes, added php/larastan to attribution

This commit is contained in:
Dan Brown
2021-11-05 16:27:59 +00:00
parent bc291bee78
commit 5c6a6b50a0
8 changed files with 15 additions and 9 deletions

View File

@ -28,7 +28,7 @@ class ApiDocsGenerator
if (Cache::has($cacheKey) && config('app.env') === 'production') {
$docs = Cache::get($cacheKey);
} else {
$docs = (new ApiDocsGenerator)->generate();
$docs = (new ApiDocsGenerator())->generate();
Cache::put($cacheKey, $docs, 60 * 24);
}