Skip to content

Commit cda59f2

Browse files
authored
Merge pull request #404 from b0rt/master
Remove Storage from copy command
2 parents 495f35a + cb08766 commit cda59f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Commands/GenerateDocumentation.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Illuminate\Support\Collection;
1010
use Mpociot\ApiDoc\Tools\Generator;
1111
use Mpociot\ApiDoc\Tools\RouteMatcher;
12-
use Illuminate\Support\Facades\Storage;
1312
use Mpociot\Documentarian\Documentarian;
1413
use Mpociot\ApiDoc\Postman\CollectionWriter;
1514

@@ -172,7 +171,7 @@ private function writeMarkdown($parsedRoutes)
172171
}
173172

174173
if ($logo = config('apidoc.logo')) {
175-
Storage::copy(
174+
copy(
176175
$logo,
177176
$outputPath.DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'logo.png'
178177
);

0 commit comments

Comments
 (0)