<?php } elseif ($item instanceof CommonPrefix) {
$path = $this->prefixer->stripPrefix($item->getPrefix() ?? '');
} else {
throw new \RuntimeException(sprintf('Argument 2 of "%s" cannot be null when $item is not instance of "%s" or %s', __METHOD__, AwsObject::class, CommonPrefix::class));
}
}