@@ -161,6 +161,9 @@  | 
                                                    ||
| 161 | 161 | return $encrypter->decrypt($sourcePath, 'php://output');  | 
                                                        
| 162 | 162 | }  | 
                                                        
| 163 | 163 | |
| 164 | + /**  | 
                                                        |
| 165 | + * @return string  | 
                                                        |
| 166 | + */  | 
                                                        |
| 164 | 167 | protected function getFilePath($file)  | 
                                                        
| 165 | 168 |      { | 
                                                        
| 166 | 169 |          if ($this->isS3File()) { | 
                                                        
@@ -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 | $contextOpts = Str::startsWith($sourcePath, 's3://') ? ['s3' => ['seekable' => true]] : [];  |