Completed
Branch master (2ce3bf)
by Christoper
01:58
created
src/Wubbajack/Encryption/FileEncrypter.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * @param string $source
112 112
      * @param string $target
113
-     * @return string The checksum of the encrypted file
113
+     * @return EncryptedFile The checksum of the encrypted file
114 114
      * @throws EncryptException
115 115
      */
116 116
     public function encrypt($source, $target)
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 
314 314
     /**
315 315
      * Returns the options for the stream filter
316
-     * @param null $iv If no IV is set, one will be created
316
+     * @param string $iv If no IV is set, one will be created
317 317
      *
318 318
      * @return array Returns an array with 'mode','key' and 'iv'
319 319
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
      */
348 348
     protected function getEncryptionFilterName()
349 349
     {
350
-        return 'mcrypt.'. $this->cipher;
350
+        return 'mcrypt.' . $this->cipher;
351 351
     }
352 352
 
353 353
     /**
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
      */
358 358
     protected function getDecryptionFilterName()
359 359
     {
360
-        return 'mdecrypt.'. $this->cipher;
360
+        return 'mdecrypt.' . $this->cipher;
361 361
     }
362 362
 
363 363
     /**
Please login to merge, or discard this patch.
src/Wubbajack/Encryption/EncryptedFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      */
120 120
     public function setPadding($padding)
121 121
     {
122
-        $this->padding = (int)$padding;
122
+        $this->padding = (int) $padding;
123 123
 
124 124
         return $this;
125 125
     }
Please login to merge, or discard this patch.