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|Closure $handler
* @param array $attributes
* @return ?Node * @return ?Node
* @throws ComponentException * @throws ComponentException
* @throws ConfigException * @throws ConfigException
* @throws Exception * @throws Exception
*/ */
public function setHandler(array|Closure $handler, array $attributes): ?Node public function setHandler(array|Closure $handler): ?Node
{ {
$router = Snowflake::app()->getRouter(); $router = Snowflake::app()->getRouter();
// TODO: Implement setHandler() method. // TODO: Implement setHandler() method.