Skip to content

Commit

Permalink
Merge branch '5.1' into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Oct 28, 2020
2 parents c78bd92 + 78cf4c5 commit b75af2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Caster/ArgsStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ArgsStub extends EnumStub

public function __construct(array $args, string $function, ?string $class)
{
list($variadic, $params) = self::getParameters($function, $class);
[$variadic, $params] = self::getParameters($function, $class);

$values = [];
foreach ($args as $k => $v) {
Expand Down
2 changes: 1 addition & 1 deletion Cloner/AbstractCloner.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ protected function castObject(Stub $stub, bool $isNested)
$stub->class = get_debug_type($obj);
}
if (isset($this->classInfo[$class])) {
list($i, $parents, $hasDebugInfo, $fileInfo) = $this->classInfo[$class];
[$i, $parents, $hasDebugInfo, $fileInfo] = $this->classInfo[$class];
} else {
$i = 2;
$parents = [$class];
Expand Down
2 changes: 1 addition & 1 deletion Server/DumpServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function listen(callable $callback): void
continue;
}

list($data, $context) = $payload;
[$data, $context] = $payload;

$callback($data, $context, $clientId);
}
Expand Down

0 comments on commit b75af2f

Please sign in to comment.