This commit is contained in:
2020-12-15 15:54:29 +08:00
parent 928b855ec5
commit df35abb48e
+1 -2
View File
@@ -40,13 +40,12 @@ use Annotation\IAnnotation;
/**
* @param array|Closure $handler
* @param array $attributes
* @return ?Node
* @throws ComponentException
* @throws ConfigException
* @throws Exception
*/
public function setHandler(array|Closure $handler, array $attributes): ?Node
public function setHandler(array|Closure $handler): ?Node
{
$router = Snowflake::app()->getRouter();
// TODO: Implement setHandler() method.