workbench, tests
This commit is contained in:
parent
d83a324eb0
commit
367858c97c
27 changed files with 568 additions and 410 deletions
|
|
@ -6,9 +6,9 @@ namespace Tests\Casters;
|
|||
|
||||
class SimpleValueCaster
|
||||
{
|
||||
public function cast(mixed $value): SimpleValue
|
||||
public function cast(mixed $data): SimpleValue
|
||||
{
|
||||
return new SimpleValue($value['value'] * 2);
|
||||
return new SimpleValue($data['value'] * 2);
|
||||
}
|
||||
|
||||
public static function rules(): array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue