diff --git a/cli/Valet/Drivers/BasicWithPublicValetDriver.php b/cli/Valet/Drivers/BasicWithPublicValetDriver.php index 5cb30d0..3de22dd 100644 --- a/cli/Valet/Drivers/BasicWithPublicValetDriver.php +++ b/cli/Valet/Drivers/BasicWithPublicValetDriver.php @@ -6,11 +6,6 @@ class BasicWithPublicValetDriver extends ValetDriver { /** * Determine if the driver serves the request. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return bool */ public function serves(string $sitePath, string $siteName, string $uri): bool { @@ -19,11 +14,6 @@ public function serves(string $sitePath, string $siteName, string $uri): bool /** * Determine if the incoming request is for a static file. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return string|false */ public function isStaticFile(string $sitePath, string $siteName, string $uri)/*: string|false */ { @@ -40,11 +30,6 @@ public function isStaticFile(string $sitePath, string $siteName, string $uri)/*: /** * Get the fully resolved path to the application's front controller. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return string|null */ public function frontControllerPath(string $sitePath, string $siteName, string $uri): ?string { diff --git a/cli/Valet/Drivers/LaravelValetDriver.php b/cli/Valet/Drivers/LaravelValetDriver.php index 55eaab6..6322368 100644 --- a/cli/Valet/Drivers/LaravelValetDriver.php +++ b/cli/Valet/Drivers/LaravelValetDriver.php @@ -6,11 +6,6 @@ class LaravelValetDriver extends ValetDriver { /** * Determine if the driver serves the request. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return bool */ public function serves(string $sitePath, string $siteName, string $uri): bool { @@ -20,11 +15,6 @@ public function serves(string $sitePath, string $siteName, string $uri): bool /** * Take any steps necessary before loading the front controller for this driver. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return void */ public function beforeLoading(string $sitePath, string $siteName, string $uri): void { @@ -36,11 +26,6 @@ public function beforeLoading(string $sitePath, string $siteName, string $uri): /** * Determine if the incoming request is for a static file. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return string|false */ public function isStaticFile(string $sitePath, string $siteName, string $uri)/*: string|false */ { @@ -64,11 +49,6 @@ public function isStaticFile(string $sitePath, string $siteName, string $uri)/*: /** * Get the fully resolved path to the application's front controller. - * - * @param string $sitePath - * @param string $siteName - * @param string $uri - * @return string|null */ public function frontControllerPath(string $sitePath, string $siteName, string $uri): ?string { diff --git a/cli/Valet/PhpFpm.php b/cli/Valet/PhpFpm.php index 2cde808..e56cea1 100644 --- a/cli/Valet/PhpFpm.php +++ b/cli/Valet/PhpFpm.php @@ -258,9 +258,6 @@ public function useVersion(string $version, bool $force = false): ?string /** * Symlink (Capistrano-style) a given Valet.sock file to be the primary valet.sock. - * - * @param string $phpVersion - * @return void */ public function symlinkPrimaryValetSock(string $phpVersion): void { diff --git a/tests/BaseApplicationTestCase.php b/tests/BaseApplicationTestCase.php index ac5f087..111a042 100644 --- a/tests/BaseApplicationTestCase.php +++ b/tests/BaseApplicationTestCase.php @@ -21,10 +21,8 @@ public function tearDown(): void /** * Prepare a test to run using the full application. - * - * @return void */ - public function prepTestConfig() + public function prepTestConfig(): void { require_once __DIR__.'/../cli/includes/helpers.php'; Container::setInstance(new Container); // Reset app container from previous tests @@ -42,8 +40,6 @@ public function prepTestConfig() /** * Return an array with two items: the application instance and the ApplicationTester. - * - * @return array */ public function appAndTester(): array { diff --git a/tests/BrewTest.php b/tests/BrewTest.php index a984ece..b09fc59 100644 --- a/tests/BrewTest.php +++ b/tests/BrewTest.php @@ -469,10 +469,8 @@ public function test_it_can_compare_two_php_versions() /** * Provider of php links and their expected split matches. - * - * @return array */ - public function supportedPhpLinkPathProvider() + public function supportedPhpLinkPathProvider(): array { return [ [