feat: parser now writes, added missing fields

updated docs, example, extensive use of Traits with better handling.
valid level 9 phpstan codebase.
This commit is contained in:
2024-08-18 18:23:05 +03:00
parent 8771b14d2a
commit aa6786981a
24 changed files with 406 additions and 296 deletions

View File

@@ -2,9 +2,9 @@
namespace Ivuorinen\BusinessDataFetcher\Dto;
use Spatie\DataTransferObject\DataTransferObject;
use Spatie\DataTransferObject\Attributes\CastWith;
use Spatie\DataTransferObject\Casters;
use Spatie\DataTransferObject\DataTransferObject;
/**
* Company Details
@@ -91,12 +91,12 @@ class BisCompanyDetails extends DataTransferObject
/**
* Business ID
*/
public string $businessId = "";
public string $businessId = '';
/**
* Date of registration
*/
public string $registrationDate = "";
public string $registrationDate = '';
/**
* Company form
@@ -111,5 +111,5 @@ class BisCompanyDetails extends DataTransferObject
/**
* Primary company name
*/
public string $name = "";
public string $name = '';
}