mirror of
https://github.com/pestphp/pest.git
synced 2026-12-06 15:52:16 +01:00
chore: rector fixes (#1898)
This commit is contained in:
@@ -234,9 +234,7 @@ final class Shard implements AddsOutput, HandlesArguments, Terminable
|
||||
$parts = explode('\\', $class);
|
||||
$current = &$tree;
|
||||
foreach ($parts as $part) {
|
||||
if (! isset($current[$part])) {
|
||||
$current[$part] = [];
|
||||
}
|
||||
$current[$part] ??= [];
|
||||
$current = &$current[$part];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user