Skip to content

Commit b75af2f

Browse files
committed
Merge branch '5.1' into 5.x
2 parents c78bd92 + 78cf4c5 commit b75af2f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Caster/ArgsStub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ArgsStub extends EnumStub
2424

2525
public function __construct(array $args, string $function, ?string $class)
2626
{
27-
list($variadic, $params) = self::getParameters($function, $class);
27+
[$variadic, $params] = self::getParameters($function, $class);
2828

2929
$values = [];
3030
foreach ($args as $k => $v) {

Cloner/AbstractCloner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ protected function castObject(Stub $stub, bool $isNested)
305305
$stub->class = get_debug_type($obj);
306306
}
307307
if (isset($this->classInfo[$class])) {
308-
list($i, $parents, $hasDebugInfo, $fileInfo) = $this->classInfo[$class];
308+
[$i, $parents, $hasDebugInfo, $fileInfo] = $this->classInfo[$class];
309309
} else {
310310
$i = 2;
311311
$parents = [$class];

Server/DumpServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function listen(callable $callback): void
7575
continue;
7676
}
7777

78-
list($data, $context) = $payload;
78+
[$data, $context] = $payload;
7979

8080
$callback($data, $context, $clientId);
8181
}

0 commit comments

Comments
 (0)