Skip to content

Commit 921776f

Browse files
committed
Deprecate getLinks
1 parent 9d41268 commit 921776f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cli/Valet/Site.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function links()
109109

110110
$certs = $this->getCertificates($certsPath);
111111

112-
return $this->getLinks($this->sitesPath(), $certs);
112+
return $this->getSites($this->sitesPath(), $certs);
113113
}
114114

115115
/**
@@ -155,8 +155,7 @@ function getCertificates($path)
155155
}
156156

157157
/**
158-
* Get list of links and present them formatted.
159-
* Use generic getSites which works for link and non link sites
158+
* @deprecated Use getSites instead which works for both normal and symlinked paths.
160159
*
161160
* @param string $path
162161
* @param \Illuminate\Support\Collection $certs

0 commit comments

Comments
 (0)