Skip to content

Commit

Permalink
FilterSyntaxMatcher: fixed parseFilterArg() signature
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Mar 28, 2024
1 parent f8c5a45 commit ce28c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configurator/Helpers/FilterSyntaxMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function parseFilterCallback(string $callback, ?string $args = null): arr
return $config;
}

public function parseFilterArg(string $argName = null, string $argValue = null): array
public function parseFilterArg(string $argName, string $argValue): array
{
$arg = (str_starts_with($argValue, '$'))
? ['Name', substr($argValue, 1) ]
Expand Down

0 comments on commit ce28c14

Please sign in to comment.