1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +01:00

Drop unnecessary doc blocks (#1339)

* Drop unnecessary doc blocks

* Apply fixes from StyleCI

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Matt Stauffer
2023-01-11 09:14:39 -05:00
committed by GitHub
parent c4faf27525
commit 4c2c4a1238
39 changed files with 46 additions and 1072 deletions

View File

@@ -9,19 +9,15 @@ class Facade
*
* @return string
*/
public static function containerKey()
public static function containerKey(): string
{
return 'Valet\\'.basename(str_replace('\\', '/', get_called_class()));
}
/**
* Call a non-static method on the facade.
*
* @param string $method
* @param array $parameters
* @return mixed
*/
public static function __callStatic($method, $parameters)
public static function __callStatic(string $method, array $parameters): mixed
{
$resolvedInstance = Container::getInstance()->make(static::containerKey());