Skip to content

Commit 99e2c9e

Browse files
committed
chore: phpstan
1 parent cbe7355 commit 99e2c9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Core/Behat/GraphqlContext.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ public function iSendTheFollowingGraphqlMultipartRequestOperations(PyStringNode
141141
$params['operations'] = $string->getRaw();
142142
$params['map'] = $this->graphqlRequest['map'];
143143

144-
$this->request->setHttpHeader('Content-type', 'multipart/form-data'); // @phpstan-ignore-line
145-
$this->request->send('POST', '/graphql', $params, $this->graphqlRequest['files']); // @phpstan-ignore-line
144+
$this->request->setHttpHeader('Content-type', 'multipart/form-data');
145+
$this->request->send('POST', '/graphql', $params, $this->graphqlRequest['files']);
146146
}
147147

148148
/**
@@ -159,7 +159,7 @@ public function ISendTheQueryToIntrospectTheSchema()
159159
*/
160160
public function theGraphQLFieldIsDeprecatedForTheReason(string $fieldName, string $reason)
161161
{
162-
foreach (json_decode($this->request->getContent(), true)['data']['__type']['fields'] as $field) { // @phpstan-ignore-line
162+
foreach (json_decode($this->request->getContent(), true)['data']['__type']['fields'] as $field) {
163163
if ($fieldName === $field['name'] && $field['isDeprecated'] && $reason === $field['deprecationReason']) {
164164
return;
165165
}

0 commit comments

Comments
 (0)