Skip to content

Commit 3be844c

Browse files
committed
chore: change some Upgrader class methods visibility from public to private.
1 parent b9a0c39 commit 3be844c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/Valet/Upgrader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function onEveryRun() {
3838
/**
3939
* Prune all non-existent paths from the configuration.
4040
*/
41-
public function prunePathsFromConfig() {
41+
private function prunePathsFromConfig() {
4242
try {
4343
$this->config->prune();
4444
}
@@ -51,7 +51,7 @@ public function prunePathsFromConfig() {
5151
/**
5252
* Prune all symbolic links that no longer point to a valid site.
5353
*/
54-
public function pruneSymbolicLinks() {
54+
private function pruneSymbolicLinks() {
5555
$this->site->pruneLinks();
5656
}
5757

@@ -60,7 +60,7 @@ public function pruneSymbolicLinks() {
6060
*
6161
* This is a one-time upgrade that will be run when Valet is first installed.
6262
*/
63-
public function upgradeSymbolicLinks() {
63+
private function upgradeSymbolicLinks() {
6464
// Check if the symlinks have already been upgraded, by checking if a key exists in
6565
// the config. If not, then upgrade them.
6666
if ($this->config->get("symlinks_upgraded", false) === false) {

0 commit comments

Comments
 (0)