mirror of
https://github.com/ivuorinen/business-data-fetcher.git
synced 2026-03-14 15:59:40 +00:00
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:
@@ -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 = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user