We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3feca13 commit 1fb8dffCopy full SHA for 1fb8dff
src/View/Components/Factory.php
@@ -52,12 +52,9 @@ public function __construct($output)
52
/**
53
* Dynamically handle calls into the component instance.
54
*
55
- * @param string $method
56
- * @param array $parameters
57
- * @return mixed
58
* @throws InvalidArgumentException
59
*/
60
- public function __call($method, $parameters)
+ public function __call(string $method, array $parameters): mixed
61
{
62
$component = '\FriendsOfHyperf\PrettyConsole\View\Components\\' . ucfirst($method);
63
0 commit comments