Skip to content

Commit af1af37

Browse files
committed
add Normalizer
fixed toArray
1 parent cb3064f commit af1af37

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Casts/InputValue/InputValueOnlyBaseTypeCast.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ public function match(mixed $value, DataCollection $collection, InputValueContex
1919

2020
public function resolve(mixed $value, DataCollection $collection, InputValueContext $context): mixed
2121
{
22-
23-
// if($context->getTypes()[0]->kind == TypeKindEnum::FLOAT){
24-
// print_r($context);
25-
// }
26-
2722
return match ($collection->getTypes()[0]->kind) {
2823
TypeKindEnum::INT => (int)$value,
2924
TypeKindEnum::FLOAT => (float)$value,

0 commit comments

Comments
 (0)