| @@ -110,7 +110,7 @@ discard block | ||
| 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 | ||
| 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 | */ | 
| @@ -347,7 +347,7 @@ discard block | ||
| 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 | ||
| 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 | /** | 
| @@ -119,7 +119,7 @@ | ||
| 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 | } |