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

First argument of Process must be of type array, string given #59

Open
kevinpijning opened this issue Jul 6, 2022 · 0 comments
Open

Comments

@kevinpijning
Copy link

kevinpijning commented Jul 6, 2022

PHP 8.1.7
laravel/framework: 9.19.0
symfony/process: v6.1.0

The executeCommand method accepts a string as command, and is passed directly to the Process constructor. This results in the following error:

Symfony\Component\Process\Process::__construct(): Argument #1 ($command) must be of type array, string given, called in /vendor/spatie/laravel-varnish/src/Varnish.php on line 66

This results in the fact that the varnish ban cant be executed.

Thanks in advance!

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