Skip to content

Commit

Permalink
fixes typo (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech authored May 17, 2023
1 parent 9e91048 commit 16dff80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PendingScopedFeatureInteraction.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function value($feature)
public function values($features)
{
if (count($this->scope()) > 1) {
throw new RuntimeException('It is not possible to retrieve the values for mutliple scopes.');
throw new RuntimeException('It is not possible to retrieve the values for multiple scopes.');
}

$this->loadMissing($features);
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/ArrayDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ public function test_it_can_load_missing_feature_state_into_memory()
public function test_it_throws_when_calling_value_with_multiple_scope()
{
$this->expectException(RuntimeException::class);
$this->expectExceptionMessage('It is not possible to retrieve the values for mutliple scopes.');
$this->expectExceptionMessage('It is not possible to retrieve the values for multiple scopes.');

Feature::for([1, 2, 3])->value('foo');
}
Expand Down

0 comments on commit 16dff80

Please sign in to comment.