mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
Remove more docblocks
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user