@@ -59,9 +59,9 @@ |
||
59 | 59 | /** |
60 | 60 | * @param array $dumpConfiguration |
61 | 61 | * |
62 | - * @param $dbDumper |
|
62 | + * @param DbDumper $dbDumper |
|
63 | 63 | * |
64 | - * @return mixed |
|
64 | + * @return DbDumper |
|
65 | 65 | */ |
66 | 66 | protected static function processExtraDumpParameters(array $dumpConfiguration, $dbDumper): DbDumper |
67 | 67 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Carbon\Carbon; |
6 | 6 | use Illuminate\Filesystem\FilesystemAdapter as Disk; |
7 | 7 | use Illuminate\Support\Facades\DB; |
8 | -use Illuminate\Support\Facades\File; |
|
9 | 8 | use Illuminate\Support\Facades\Storage; |
10 | 9 | use Spatie\DbSnapshots\Events\DeletedSnapshot; |
11 | 10 | use Spatie\DbSnapshots\Events\DeletingSnapshot; |
@@ -85,6 +85,9 @@ |
||
85 | 85 | $this->streamFileIntoDB($dumpFilePath, $connectionName); |
86 | 86 | } |
87 | 87 | |
88 | + /** |
|
89 | + * @param string $path |
|
90 | + */ |
|
88 | 91 | public function streamFileIntoDB($path, string $connectionName = null) |
89 | 92 | { |
90 | 93 | if ($connectionName !== null) { |