Skip to content

Commit

Permalink
Test trait must convert arg to string (#5822)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman authored Nov 26, 2023
1 parent ccbbecd commit c21a5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestTraits/DrushTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function drush($command, array $args = [], array $options = [], ?string $

// Insert drush command arguments.
foreach ($args as $arg) {
$cmd[] = self::escapeshellarg($arg);
$cmd[] = self::escapeshellarg((string) $arg);
}
// insert drush command options
foreach ($options as $key => $value) {
Expand Down

0 comments on commit c21a5a2

Please sign in to comment.