Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| ImportWriteResult | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace ImovelZapAi\Importing\Application\Data; |
| 6 | |
| 7 | use ImovelZapAi\Importing\Domain\Enums\ImportItemResult; |
| 8 | |
| 9 | final readonly class ImportWriteResult |
| 10 | { |
| 11 | /** |
| 12 | * @param array<string, mixed>|null $diffBefore |
| 13 | * @param array<string, mixed>|null $diffAfter |
| 14 | */ |
| 15 | public function __construct( |
| 16 | public ImportItemResult $result, |
| 17 | public ?string $propertyId, |
| 18 | public int $photosImported, |
| 19 | public ?array $diffBefore = null, |
| 20 | public ?array $diffAfter = null, |
| 21 | public ?string $message = null, |
| 22 | ) {} |
| 23 | } |