Класс документа коррекции Correction с покрытием и всякая мелочёвка

- финализация Receipt + Payment
- фиксы phpdoc
This commit is contained in:
2021-12-11 15:53:57 +08:00
parent 1d6abfd475
commit 6787ce3ad7
7 changed files with 380 additions and 33 deletions

View File

@@ -11,18 +11,14 @@ declare(strict_types = 1);
namespace AtolOnline\Entities;
use AtolOnline\{
Constants\Constraints,
Enums\SnoTypes,
Traits\HasEmail,
Traits\HasInn};
use AtolOnline\Exceptions\{
InvalidEmailException,
use AtolOnline\{Constants\Constraints, Enums\SnoTypes, Traits\HasEmail, Traits\HasInn};
use AtolOnline\Exceptions\{InvalidEmailException,
InvalidEnumValueException,
InvalidInnLengthException,
InvalidPaymentAddressException,
TooLongEmailException,
TooLongPaymentAddressException};
TooLongPaymentAddressException
};
use JetBrains\PhpStorm\ArrayShape;
/**
@@ -59,8 +55,8 @@ final class Company extends Entity
* @throws TooLongPaymentAddressException
*/
public function __construct(
string $email,
string $sno,
string $email, //TODO сделать необязательным здесь
string $sno, //TODO сделать необязательным здесь
string $inn,
string $payment_address,
) {