Skip to content

Commit

Permalink
Merge pull request #216 from ta-ppyszczek/master
Browse files Browse the repository at this point in the history
Repaired misspelled path.public argument of app()->get() method
  • Loading branch information
shalvah authored May 21, 2021
2 parents cf9d976 + c9be8f0 commit 17441e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writing/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected function performFinalTasksForLaravelType(): void
if (!is_dir($this->laravelTypeOutputPath)) {
mkdir($this->laravelTypeOutputPath, 0777, true);
}
$publicDirectory = app()->get('public_path');
$publicDirectory = app()->get('path.public');
if (!is_dir("$publicDirectory/vendor/scribe")) {
mkdir("$publicDirectory/vendor/scribe", 0777, true);
}
Expand Down

0 comments on commit 17441e8

Please sign in to comment.