Browse Source

Merge pull request #216 from ta-ppyszczek/master

Repaired misspelled path.public argument of app()->get() method
Shalvah 4 năm trước cách đây
mục cha
commit
17441e8803
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Writing/Writer.php

+ 1 - 1
src/Writing/Writer.php

@@ -260,7 +260,7 @@ class Writer
         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);
         }