private function prepareConfig($visibility) { if ($visibility === 'default') { return []; } return ['visibility' => $visibility]; }