Skip to content

Commit 299bb35

Browse files
committed
Small naming fixes.
1 parent 3660ab2 commit 299bb35

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/ApiClient.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ public function setLocale(string $locale): void
9595
}
9696

9797
/**
98-
* Sets the mod names to enabled on authorization.
99-
* @param array|string[] $enabledModNames
98+
* Sets the mod names to use on authorization.
99+
* @param array|string[] $modNames
100100
*/
101-
public function setModNames(array $enabledModNames): void
101+
public function setModNames(array $modNames): void
102102
{
103-
$this->options->setModNames($enabledModNames);
103+
$this->options->setModNames($modNames);
104104
}
105105

106106
/**

src/ApiClientInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ interface ApiClientInterface
2323
public function setLocale(string $locale): void;
2424

2525
/**
26-
* Sets the mod names to enabled on authorization.
27-
* @param array|string[] $enabledModNames
26+
* Sets the mod names to use on authorization.
27+
* @param array|string[] $modNames
2828
*/
29-
public function setModNames(array $enabledModNames): void;
29+
public function setModNames(array $modNames): void;
3030

3131
/**
3232
* Sets the authorization token to use for the requests.

0 commit comments

Comments
 (0)