@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @param string $key |
| 35 | 35 | * @param string $cipher |
| 36 | - * @return void |
|
| 36 | + * @return string |
|
| 37 | 37 | * |
| 38 | 38 | * @throws \RuntimeException |
| 39 | 39 | */ |
@@ -165,6 +165,9 @@ discard block |
||
| 165 | 165 | return true; |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | + /** |
|
| 169 | + * @param string $destPath |
|
| 170 | + */ |
|
| 168 | 171 | protected function openDestFile($destPath) |
| 169 | 172 | { |
| 170 | 173 | if (($fpOut = fopen($destPath, 'w')) === false) { |
@@ -174,6 +177,9 @@ discard block |
||
| 174 | 177 | return $fpOut; |
| 175 | 178 | } |
| 176 | 179 | |
| 180 | + /** |
|
| 181 | + * @param string $sourcePath |
|
| 182 | + */ |
|
| 177 | 183 | protected function openSourceFile($sourcePath) |
| 178 | 184 | { |
| 179 | 185 | $context = Str::startsWith($sourcePath, "s3://") |