@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * FileEncrypter constructor. |
56 | 56 | * |
57 | - * @param $key |
|
57 | + * @param string $key |
|
58 | 58 | */ |
59 | 59 | public function __construct($key) |
60 | 60 | { |
@@ -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 | */ |