workbench, tests

This commit is contained in:
icefox 2026-02-23 21:09:02 -03:00
parent d83a324eb0
commit 367858c97c
No known key found for this signature in database
27 changed files with 568 additions and 410 deletions

View file

@ -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