Skip to content

Update AdvancedUsage.md#870

Open
GlebkaF wants to merge 1 commit into
Codeception:masterfrom
GlebkaF:patch-2
Open

Update AdvancedUsage.md#870
GlebkaF wants to merge 1 commit into
Codeception:masterfrom
GlebkaF:patch-2

Conversation

@GlebkaF

@GlebkaF GlebkaF commented Sep 16, 2024

Copy link
Copy Markdown
Contributor

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.

@Arhell Arhell left a comment

Copy link
Copy Markdown
Member

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

W0rma commented Dec 5, 2024

Copy link
Copy Markdown
Contributor

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