Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6f326c

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix TranslationTrait for multiple domains Fix parameter types for ProcessHelper::mustRun() Fix: Wording [SecurityBundle] Fix ambiguous deprecation message on missing provider Remove dead code in tests Remove return void PHPDoc in test Fix merge
2 parents 675a4e6 + 9d512fe commit c6f326c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Helper/ProcessHelper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ public function run(OutputInterface $output, array|Process $cmd, string $error =
8686
* This is identical to run() except that an exception is thrown if the process
8787
* exits with a non-zero exit code.
8888
*
89-
* @param string|Process $cmd An instance of Process or a command to run
90-
* @param callable|null $callback A PHP callback to run whenever there is some
91-
* output available on STDOUT or STDERR
89+
* @param array|Process $cmd An instance of Process or a command to run
90+
* @param callable|null $callback A PHP callback to run whenever there is some
91+
* output available on STDOUT or STDERR
9292
*
9393
* @throws ProcessFailedException
9494
*
9595
* @see run()
9696
*/
97-
public function mustRun(OutputInterface $output, string|Process $cmd, string $error = null, callable $callback = null): Process
97+
public function mustRun(OutputInterface $output, array|Process $cmd, string $error = null, callable $callback = null): Process
9898
{
9999
$process = $this->run($output, $cmd, $error, $callback);
100100

0 commit comments

Comments
 (0)