Completed
Push — master ( 992b42...ee40ef )
by Costin
16s queued 14s
created
src/FileVault.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
src/FileEncrypter.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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]] : [];
Please login to merge, or discard this patch.