@@ -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 | { |
@@ -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 | /** |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | /** |
| 61 | 61 | * Get the services provided by the provider. |
| 62 | 62 | * |
| 63 | - * @return array |
|
| 63 | + * @return string[] |
|
| 64 | 64 | */ |
| 65 | 65 | public function provides() |
| 66 | 66 | { |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | } |
| 362 | 362 | |
| 363 | 363 | /** |
| 364 | - * @param $file |
|
| 364 | + * @param string $file |
|
| 365 | 365 | * |
| 366 | 366 | * @return string |
| 367 | 367 | */ |
@@ -69,9 +69,8 @@ discard block |
||
| 69 | 69 | * Publish files from a given path. |
| 70 | 70 | * |
| 71 | 71 | * @param string $package |
| 72 | - * @param string $source |
|
| 73 | 72 | * |
| 74 | - * @return bool |
|
| 73 | + * @return string |
|
| 75 | 74 | */ |
| 76 | 75 | public function getFileList($package) |
| 77 | 76 | { |
@@ -128,8 +127,9 @@ discard block |
||
| 128 | 127 | /** |
| 129 | 128 | * Get the target destination path for the files. |
| 130 | 129 | * |
| 131 | - * @param string $package |
|
| 132 | 130 | * |
| 131 | + * @param string $type |
|
| 132 | + * @param string[] $args |
|
| 133 | 133 | * @return string |
| 134 | 134 | */ |
| 135 | 135 | protected function getDestinationPath($type, $args) |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | /** |
| 157 | 157 | * @param $path |
| 158 | 158 | * |
| 159 | - * @return mixed |
|
| 159 | + * @return string |
|
| 160 | 160 | */ |
| 161 | 161 | protected function getClassFromFile($path) |
| 162 | 162 | { |