diff --git a/src/Generator.php b/src/Generator.php index 991eca3..a762e53 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -22,7 +22,7 @@ public static function generateDocs() File::makeDirectory($docDir); $excludeDirs = config('l5-swagger.paths.excludes'); - if (version_compare(config('swagger-lume.swagger_version'), '3.0', '>=')) { + if (version_compare(config('l5-swagger.swagger_version'), '3.0', '>=')) { $swagger = \OpenApi\scan($appDir, ['exclude' => $excludeDirs]); } else { $swagger = \Swagger\scan($appDir, ['exclude' => $excludeDirs]);