Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Nov 28, 2023
1 parent 1c9ba73 commit 66e8d19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/ApiOperations/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ protected static function _validateParams($params = null)
* @param string $url URL for the request
* @param array $params list of parameters for the request
* @param null|array|string $options
* @param mixed $usage
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*
Expand All @@ -51,6 +52,7 @@ protected function _request($method, $url, $params = [], $options = null, $usage
* @param callable $readBodyChunk function that will receive chunks of data from a successful request body
* @param array $params list of parameters for the request
* @param null|array|string $options
* @param mixed $usage
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Stripe/StripeTelemetryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function testTelemetrySetIfEnabledStripeClient()

ApiRequestor::setHttpClient($stub);

$client = new \Stripe\StripeClient("sk_test_123");
$client = new \Stripe\StripeClient('sk_test_123');
$client->customers->create(['description' => 'test']);
static::assertArrayNotHasKey('X-Stripe-Client-Telemetry', $requestheaders);
$client->customers->create(['description' => 'test2']);
Expand Down

0 comments on commit 66e8d19

Please sign in to comment.