update project
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support\Release;
|
||||
|
||||
final readonly class ShadowComparisonResult
|
||||
{
|
||||
public function __construct(
|
||||
public string $module,
|
||||
public string $scenario,
|
||||
public string $status,
|
||||
public array $legacy = [],
|
||||
public array $modular = [],
|
||||
public array $mismatches = [],
|
||||
) {}
|
||||
|
||||
public function toArray(): array
|
||||
{
|
||||
return [
|
||||
'module' => $this->module,
|
||||
'scenario' => $this->scenario,
|
||||
'status' => $this->status,
|
||||
'legacy' => $this->legacy,
|
||||
'modular' => $this->modular,
|
||||
'mismatches' => $this->mismatches,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user