Skip to content

Commit aae8c2e

Browse files
authored
Add missing parameter type (#49)
* Add missing parameter type * Update NetworkFunction.php
1 parent 4fed98e commit aae8c2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EntryPoints/NetworkFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ function() {
3333

3434
/**
3535
* @param Parser $parser
36-
* @param string[] ...$arguments
36+
* @param string ...$arguments
3737
* @return array|string
3838
*/
39-
public function handleParserFunctionCall( Parser $parser, ...$arguments ) {
39+
public function handleParserFunctionCall( Parser $parser, string ...$arguments ) {
4040
$parser->getOutput()->addModules( [ 'ext.network' ] );
4141
$parser->getOutput()->addJsConfigVars( 'networkExcludeTalkPages', $this->config->getExcludeTalkPages() );
4242

0 commit comments

Comments
 (0)