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

getCommandLine should return string|string[] #201

Merged
merged 2 commits into from
Apr 12, 2020
Merged

getCommandLine should return string|string[] #201

merged 2 commits into from
Apr 12, 2020

Conversation

GrahamCampbell
Copy link
Contributor

@GrahamCampbell GrahamCampbell commented Jan 27, 2020

The underlying symfony process class actually needs this to be string[], even though they only document the type as array in the Process constructor, but later they do an array_map to a function that is strongly typed as string...


Closes #200.

@GrahamCampbell
Copy link
Contributor Author

Ping @TomasVotruba.

src/GitCommand.php Outdated Show resolved Hide resolved
@TomasVotruba
Copy link
Contributor

GitHub didn't submit feedback on mobile. Should be there now

@TomasVotruba
Copy link
Contributor

Thanks!

@TomasVotruba TomasVotruba merged commit a7df8d5 into cpliakas:master Apr 12, 2020
@GrahamCampbell GrahamCampbell deleted the patch-2 branch April 12, 2020 14:49
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.

v3.0.1: strlen() expects parameter 1 to be string, integer given
2 participants