codeception.github.com
codeception.github.com copied to clipboard
Update AdvancedUsage.md
If used as described in the current documentation, codeception throws an error
In Step.php line 44:
Codeception\Step::__construct(): Argument #2 ($arguments) must be of type a
rray, string given, called in /opt/app/vendor/codeception/codeception/src/C
odeception/Test/Cest.php on line 89
But it would be great if it could work without additional parentheses.
This PR can be closed if https://github.com/Codeception/Codeception/pull/6812 is accepted because it adjusts the implementation to the documented behavior.