@@ -32,8 +32,9 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Get the target destination path for the files. |
| 34 | 34 | * |
| 35 | - * @param string $package |
|
| 36 | 35 | * |
| 36 | + * @param string $type |
|
| 37 | + * @param string[] $args |
|
| 37 | 38 | * @return string |
| 38 | 39 | */ |
| 39 | 40 | protected function getDestinationPath($type, $args) |
@@ -60,7 +61,7 @@ discard block |
||
| 60 | 61 | /** |
| 61 | 62 | * @param $path |
| 62 | 63 | * |
| 63 | - * @return mixed |
|
| 64 | + * @return string |
|
| 64 | 65 | */ |
| 65 | 66 | protected function getClassFromFile($path) |
| 66 | 67 | { |
@@ -35,7 +35,6 @@ discard block |
||
| 35 | 35 | * Create a new publisher instance. |
| 36 | 36 | * |
| 37 | 37 | * @param \Illuminate\Filesystem\Filesystem $files |
| 38 | - * @param string $publishPath |
|
| 39 | 38 | */ |
| 40 | 39 | public function __construct(Filesystem $files) |
| 41 | 40 | { |
@@ -46,9 +45,8 @@ discard block |
||
| 46 | 45 | * Publish files from a given path. |
| 47 | 46 | * |
| 48 | 47 | * @param string $package |
| 49 | - * @param string $source |
|
| 50 | 48 | * |
| 51 | - * @return bool |
|
| 49 | + * @return string |
|
| 52 | 50 | */ |
| 53 | 51 | public function getFileList($package) |
| 54 | 52 | { |
@@ -54,9 +54,8 @@ |
||
| 54 | 54 | * Publish files from a given path. |
| 55 | 55 | * |
| 56 | 56 | * @param string $package |
| 57 | - * @param string $source |
|
| 58 | 57 | * |
| 59 | - * @return bool |
|
| 58 | + * @return string |
|
| 60 | 59 | */ |
| 61 | 60 | public function getFileList($package) |
| 62 | 61 | { |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Get the source configuration directory to publish. |
| 20 | 20 | * |
| 21 | - * @param string $package |
|
| 22 | 21 | * @param string $packagePath |
| 23 | 22 | * |
| 24 | 23 | * @return string |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace DraperStudio\ServiceProvider; |
| 13 | 13 | |
| 14 | -use Illuminate\Support\Facades\File; |
|
| 15 | 14 | use Illuminate\Contracts\Foundation\Application; |
| 16 | 15 | |
| 17 | 16 | /** |