@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * |
| 11 | - * @param string $filename |
|
| 11 | + * @param string $fileName |
|
| 12 | 12 | * @return \Tartana\Component\Decrypter\DecrypterInterface |
| 13 | 13 | */ |
| 14 | 14 | public function createDecryptor ($fileName) |
@@ -9,11 +9,13 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Decrypts the given string or path. |
| 11 | 11 | * |
| 12 | - * @param string $dlc |
|
| 13 | 12 | * @return string[] |
| 14 | 13 | * @throws \RuntimeException if something goes wrong |
| 15 | 14 | */ |
| 16 | 15 | public function decrypt ($string); |
| 17 | 16 | |
| 17 | + /** |
|
| 18 | + * @return void |
|
| 19 | + */ |
|
| 18 | 20 | public function setLogger (LoggerInterface $logger = null); |
| 19 | 21 | } |
| 20 | 22 | \ No newline at end of file |
@@ -1,6 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Tartana\Component\Decrypter; |
| 3 | -use Monolog\Logger; |
|
| 4 | 3 | use Psr\Log\LoggerInterface; |
| 5 | 4 | |
| 6 | 5 | interface DecrypterInterface |