Skip to content

Update PHPDoc for sfWebController::redirect() func #246

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

Merged
merged 3 commits into from
May 25, 2021

Conversation

cmdeviant
Copy link
Contributor

We can actually pass array to sfWebController::redirect() function as first parameter, but IDE wrongly highlights this as "Expected parameter of type 'string', 'array' provided".

We can actually pass array to sfWebController::redirect() function as first parameter, but IDE wrongly highlights this as "Expected parameter of type 'string', 'array' provided".
cmdeviant and others added 2 commits May 14, 2021 19:08
The more precise the types are, the better IDE will help preventing errors.

Co-authored-by: Ivan Voskoboinyk <ivan.voskoboinyk@gmail.com>
Copy link
Contributor

@e1himself e1himself left a comment

Choose a reason for hiding this comment

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

👍

@thePanz thePanz merged commit 9620a13 into FriendsOfSymfony1:master May 25, 2021
@thePanz
Copy link
Member

thePanz commented May 25, 2021

@cmdeviant Thanks Pavel, merged!

terdia pushed a commit to amboss-mededu/php-symfony1 that referenced this pull request May 28, 2021
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.

7 participants