Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

GlebkaF
Copy link
Contributor

@GlebkaF GlebkaF commented Sep 16, 2024

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.

Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

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

@Naktibalda
Please take a look when you have time, thanks

@W0rma
Copy link

W0rma commented Dec 5, 2024

This PR can be closed if Codeception/Codeception#6812 is accepted because it adjusts the implementation to the documented behavior.

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.

3 participants