From 290c22a1f7a8ceaab53468fe4a5d023325df10b6 Mon Sep 17 00:00:00 2001 From: James Barnard Date: Tue, 22 Jan 2019 08:31:18 +0000 Subject: [PATCH] added suggested 7.2 and fix doesn't typo --- cli/Valet/PhpFpm.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/Valet/PhpFpm.php b/cli/Valet/PhpFpm.php index 3de24ce..688b769 100644 --- a/cli/Valet/PhpFpm.php +++ b/cli/Valet/PhpFpm.php @@ -146,7 +146,10 @@ function useVersion($version) if (!$this->brew->supportedPhpVersions()->contains($version)) { throw new DomainException( - sprintf('Valet doesnn\'t support PHP version: %s', $version) + sprintf( + 'Valet doesn\'t support PHP version: %s (try something like \'php7.2\' instead)', + $version + ) ); }