Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dataProvider & Tester\DataProvider::testQuery() must be of the type string #418

Closed
milo opened this issue May 8, 2020 · 0 comments
Closed

Comments

@milo
Copy link
Member

milo commented May 8, 2020

Version: 2.3.2

Documentation mentions, that data-provider.php can return numerically indexed array, but after adding scalar typehints, testQuery() failes.

TypeError: Argument 1 passed to Tester\DataProvider::testQuery() must be of the type string, int given, called in .../nette/tester/src/Framework/DataProvider.php on line 46
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

No branches or pull requests

1 participant