mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Consistency changes (#60)
* Correct the return type annotation in a serves method * Type-hint the driver in the abstract ValetDriver * Correct the return type-hint in the sample ValetDriver * Remove the return afrom the restartLinkedPhp method * Remove the return annotation from the Caddy constructor * Remove the return annotation from the Valet configuration constructor * Removed the return from the prependPath method of the Configuration class * Removed the return from the appendAsUser method of the Filesystem class * Removed the return annotation from the Site constructor * Corrected the parameter annotation of the link method in the Site class * Order use statements by length in PhpFpm * Remove the return annotation from the Valet constructor
This commit is contained in:
committed by
Taylor Otwell
parent
a7d383db3a
commit
fe6fb947f7
@@ -14,7 +14,6 @@ class Site
|
||||
* @param Configuration $config
|
||||
* @param CommandLine $cli
|
||||
* @param Filesystem $files
|
||||
* @return void
|
||||
*/
|
||||
function __construct(Configuration $config, CommandLine $cli, Filesystem $files)
|
||||
{
|
||||
@@ -27,7 +26,7 @@ function __construct(Configuration $config, CommandLine $cli, Filesystem $files)
|
||||
* Link the current working directory with the given name.
|
||||
*
|
||||
* @param string $target
|
||||
* @param string $name
|
||||
* @param string $link
|
||||
* @return string
|
||||
*/
|
||||
function link($target, $link)
|
||||
|
||||
Reference in New Issue
Block a user