瀏覽代碼

Merge pull request #216 from ta-ppyszczek/master

Repaired misspelled path.public argument of app()->get() method
Shalvah 4 年之前
父節點
當前提交
17441e8803
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
         }