Skip to content

Commit

Permalink
adjust visibility of parameter map
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Nov 30, 2021
1 parent f1845ed commit abe3ff0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class ThrottleRequests
//
}

private static function parameterAliasMap(): array
protected static function parameterAliasMap(): array
{
return [
'limiter' => 'maxAttempts',
Expand Down
4 changes: 3 additions & 1 deletion src/HasParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ public static function in($arguments): string
}

/**
* @infection-ignore-all
*
* @return array<string, string>
*/
private static function parameterAliasMap(): array
protected static function parameterAliasMap(): array
{
return [
// 'alias' => 'parameter',
Expand Down

0 comments on commit abe3ff0

Please sign in to comment.