Skip to content

Commit 6f06503

Browse files
committed
Fix typo in exception
1 parent abff8aa commit 6f06503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BigCommerce/Api/Generic/ResourceApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ abstract protected function resourceName(): string;
2525
protected function singleResourceUrl(): string
2626
{
2727
if (is_null($this->getResourceId())) {
28-
throw new UnexpectedValueException("A {$this->resourceName()} id must be to be set");
28+
throw new UnexpectedValueException("A {$this->resourceName()} id must be set");
2929
}
3030

3131
return sprintf(

0 commit comments

Comments
 (0)