codeception.github.com icon indicating copy to clipboard operation
codeception.github.com copied to clipboard

Update AdvancedUsage.md

Open GlebkaF opened this issue 1 year ago • 1 comments

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.

GlebkaF avatar Sep 16 '24 04:09 GlebkaF

This PR can be closed if https://github.com/Codeception/Codeception/pull/6812 is accepted because it adjusts the implementation to the documented behavior.

W0rma avatar Dec 05 '24 09:12 W0rma