Completed
Push — master ( 539494...403acd )
by Costin
01:01
created
src/FileEncrypter.php 2 patches
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param  string  $key
36 36
      * @param  string  $cipher
37
-     * @return void
37
+     * @return string
38 38
      *
39 39
      * @throws \RuntimeException
40 40
      */
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
         return true;
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $destPath
137
+     */
135 138
     protected function openDestFile($destPath)
136 139
     {
137 140
         if (($fpOut = fopen($destPath, 'w')) === false) {
@@ -141,6 +144,9 @@  discard block
 block discarded – undo
141 144
         return $fpOut;
142 145
     }
143 146
 
147
+    /**
148
+     * @param string $sourcePath
149
+     */
144 150
     protected function openSourceFile($sourcePath)
145 151
     {
146 152
         if (($fpIn = fopen($sourcePath, 'rb')) === false) {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace SoareCostin\FileVault;
4 4
 
5 5
 use Exception;
6
-use RuntimeException;
7 6
 use Illuminate\Support\Str;
7
+use RuntimeException;
8 8
 
9 9
 class FileEncrypter
10 10
 {
Please login to merge, or discard this patch.