Completed
Push — master ( 403acd...d0bc36 )
by Costin
26s
created
src/FileEncrypter.php 1 patch
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.