Skip to content

Conversation

@markkelnar
Copy link
Contributor

Increase and fix phpstan levels 5 and 6.

Reference issue

new Error(
self::deniedDocumentMessage(),
[ $node ]
$node
Copy link
Contributor Author

@markkelnar markkelnar Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking deep in the graphql-php error constructor, this single $node gets converted to [$node]. That's why I feel this is the change needed.

@markkelnar markkelnar requested a review from jasonbahl August 2, 2023 15:22
@markkelnar markkelnar requested a review from jasonbahl August 2, 2023 15:49
@markkelnar markkelnar merged commit 4e00e3a into wp-graphql:main Aug 2, 2023
@markkelnar markkelnar deleted the phpstan-level-5 branch August 2, 2023 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants