QA #229
Annotations
2 warnings
|
mutation:
src/Value/ObjectVal.php#L20
Escaped Mutant for Mutator "CastArray":
@@ @@
public function getRawValue(): \stdClass
{
$return = new \stdClass();
- foreach ((array) $this->value as $key => $value) {
+ foreach ($this->value as $key => $value) {
\assert($value instanceof Value);
$return->{$key} = $value->getRawValue();
}
|
|
mutation:
src/Parser.php#L257
Escaped Mutant for Mutator "DoWhile":
@@ @@
default:
throw new ExpectedSelectionSetBody($this->tokenizer->getNext()->getLocation(), $this->tokenizer->getCurrent()->getType());
}
- } while ($this->tokenizer->peekNext()->getType() !== TokenType::CUR_C);
+ } while (false);
$this->tokenizer->getNext();
return new FieldSet($fields, new FragmentSpreadSet($fragments));
}
|