| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | abstract class CryptoKeypair implements CryptoKeyInterface, ContainerInterface{ |
||
| 22 | use MemzeroDestructorTrait, Container{ |
||
| 23 | __construct as containerConstruct; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $keypair; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $secret; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | protected $public; |
||
| 40 | |||
| 41 | /** @noinspection PhpMissingParentConstructorInspection */ |
||
| 42 | /** |
||
| 43 | * CryptoKeypair constructor. |
||
| 44 | * |
||
| 45 | * @param array|null $properties |
||
| 46 | * |
||
| 47 | * @throws \chillerlan\Traits\Crypto\CryptoException |
||
| 48 | */ |
||
| 49 | public function __construct(array $properties = null){ |
||
| 59 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.