Skip to content

Commit 18d2adc

Browse files
authored
fix typos and bade argument order
1 parent 3345b84 commit 18d2adc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ function valet_default_site_path($config)
125125
* Determine the fully qualified path to the site.
126126
* Inspects registered path directories, case-sensitive.
127127
*/
128-
function get_valet_site_path($valtetConfig, $domain, $siteName)
128+
function get_valet_site_path($valetConfig, $siteName, $domain)
129129
{
130130
$valetSitePath = null;
131-
foreach ($valtetConfig['paths'] as $path) {
131+
foreach ($valetConfig['paths'] as $path) {
132132
if ($handle = opendir($path)) {
133133
while (false !== ($file = readdir($handle))) {
134134
if (! is_dir($path.'/'.$file)) continue;

0 commit comments

Comments
 (0)