소스 검색

re-added spaces back to original

MooseH 3 년 전
부모
커밋
44f0acaece
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/GroupedEndpoints/GroupedEndpointsFromApp.php
  2. 1 0
      src/Writing/Writer.php

+ 1 - 0
src/GroupedEndpoints/GroupedEndpointsFromApp.php

@@ -41,6 +41,7 @@ class GroupedEndpointsFromApp implements GroupedEndpointsContract
         $this->routeMatcher = $routeMatcher;
         $this->docConfig = $command->getDocConfig();
         $this->preserveUserChanges = $preserveUserChanges;
+
         static::$camelDir = Camel::$camelDir;
         static::$cacheDir = Camel::$cacheDir;
     }

+ 1 - 0
src/Writing/Writer.php

@@ -172,6 +172,7 @@ class Writer
         $contents = preg_replace('#src="\.\./docs/(js|images)/(.+?)"#', 'src="{{ asset("' . $this->laravelAssetsPath . '/$1/$2") }}"', $contents);
         $contents = str_replace('href="../docs/collection.json"', 'href="{{ route("scribe.postman") }}"', $contents);
         $contents = str_replace('href="../docs/openapi.yaml"', 'href="{{ route("scribe.openapi") }}"', $contents);
+
         file_put_contents("$this->laravelTypeOutputPath/index.blade.php", $contents);
     }