Skip to content

Commit

Permalink
Update FieldResult.php
Browse files Browse the repository at this point in the history
  • Loading branch information
peldax authored Jun 11, 2020
1 parent 77b4583 commit 133a714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolver/FieldResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private function __construct(\Graphpinator\Type\Contract\Resolvable $type, \Grap
$this->result = $value;
}

public static function fromRaw(\Graphpinator\Type\Contract\Resolvable $type, $rawValue) : self
public static function fromRaw(\Graphpinator\Type\Contract\Definition $type, $rawValue) : self
{
return new self($type, $type->createValue($rawValue));
}
Expand Down

0 comments on commit 133a714

Please sign in to comment.