add throws for constructors

This commit is contained in:
Artem Vasilev 2022-11-10 11:45:00 +03:00
parent cc216cfde1
commit 72a6e1160a
5 changed files with 16 additions and 4 deletions

View File

@ -13,6 +13,9 @@
*/ */
class CPAttribute class CPAttribute
{ {
/**
* @throws \Throwable
*/
public function __construct() public function __construct()
{ {
} }

View File

@ -16,9 +16,8 @@
*/ */
class CPHashedData class CPHashedData
{ {
/** /**
* * @throws \Throwable
*/ */
public function __construct() public function __construct()
{ {

View File

@ -11,7 +11,9 @@
*/ */
class CPSignedData class CPSignedData
{ {
/**
* @throws \Throwable
*/
public function __construct() public function __construct()
{ {
} }

View File

@ -29,7 +29,9 @@
*/ */
class CPSigner class CPSigner
{ {
/**
* @throws \Throwable
*/
public function __construct() public function __construct()
{ {
} }

View File

@ -12,6 +12,12 @@
*/ */
class CPStore class CPStore
{ {
/**
* @throws \Throwable
*/
public function __construct()
{
}
/** /**
* Добавляет сертификат в открытое хранилище. * Добавляет сертификат в открытое хранилище.