Skip to content

Commit

Permalink
Replaced concatenation with parameterization (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandcore-dev authored Mar 30, 2021
1 parent 6649228 commit d9b6c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Endpoints/OrdersEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function get(int $id): Models\Resource\Orders
*/
public function update(int $id, Models\Orders\Patch $model, bool $onlyFilled = true): void
{
$this->doRequest(self::PATCH, sprintf('orders/%d' . $id), $model->toArray($onlyFilled));
$this->doRequest(self::PATCH, sprintf('orders/%d', $id), $model->toArray($onlyFilled));
}

/**
Expand Down

0 comments on commit d9b6c8c

Please sign in to comment.