Skip to content

Commit

Permalink
Fix phpstan!
Browse files Browse the repository at this point in the history
  • Loading branch information
VennDev committed Sep 2, 2024
1 parent 2f4a63c commit 1be0861
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vennv/vapm/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
use RuntimeException;
use InvalidArgumentException;
use Throwable;
use Traversable;
use function strlen;
use function rtrim;
use function fclose;
Expand Down Expand Up @@ -426,7 +425,7 @@ public function start(array $mode = DescriptorSpec::BASIC): Promise

$args = self::$args[$idCall];

if (is_array($args) || $args instanceof Traversable) {
if (is_array($args)) {
foreach ($args as $key => $arg) {
$tryToString = Utils::toStringAny($arg);
$args[$key] = array_values($tryToString)[0];
Expand Down

0 comments on commit 1be0861

Please sign in to comment.