Skip to content
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

Incorrect added arguments if it`s an array. Raise exception about array #124

Open
imilyukov opened this issue Jan 12, 2016 · 0 comments
Open

Comments

@imilyukov
Copy link

When input option with mode multiple, then raise next warning:
Warning: escapeshellarg() expects parameter 1 to be string, array given

Needed just test for type array of $arg and implode into string. But better use ArrayInput as wrapper, it`s accept an array and output prepared string by __toString() method.

See: https://github.com/schmittjoh/JMSJobQueueBundle/blob/master/Command/RunCommand.php#L360

Thanks ;)

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

No branches or pull requests

1 participant