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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user