public static function cutInternals($obj, array $a, Stub $stub, bool $isNested) : array { if ($isNested) { $stub->cut += \count($a); return []; } return $a; }