@@ -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 | } |
@@ -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 | /** |
@@ -313,7 +313,7 @@ |
||
| 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 | */ |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php namespace Wubbajack\Encryption; |
| 2 | 2 | |
| 3 | -use Wubbajack\Encryption\Exceptions\EncryptException; |
|
| 4 | 3 | use Wubbajack\Encryption\Exceptions\DecryptException; |
| 4 | +use Wubbajack\Encryption\Exceptions\EncryptException; |
|
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | 7 | * File Encryptor class. |