| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function __construct() { |
||
| 15 | parent::__construct('Decrypt', |
||
| 16 | array(self::argPrivateKey, self::argPublicKey, self::argNonce), |
||
| 17 | 'Decrypt standard input using the given recipient private key and sender public key. The nonce must be given on the command line, and the box (hex) on standard input. Prints the decrypted message to standard output.'); |
||
| 18 | } |
||
| 19 | |||
| 35 |
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.