1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00

Move string concat to one line

This commit is contained in:
Matt Stauffer
2022-03-12 00:23:00 -05:00
parent 33c797f9ef
commit 55c7dcb99d

View File

@@ -222,12 +222,7 @@ public function unIsolateDirectory($directory)
$site = $this->site->getSiteUrl($directory);
if (!$site) {
throw new DomainException(
sprintf(
"The [%s] site could not be found in Valet's site list.",
$directory
)
);
throw new DomainException("The [{$directory}] site could not be found in Valet's site list.");
}
$oldCustomPhpVersion = $this->site->customPhpVersion($site); // Example output: "74"