Skip to content

Commit

Permalink
Change $request_headers to snakeCase so it consistent throughout the …
Browse files Browse the repository at this point in the history
…project.
  • Loading branch information
s-patompong committed Apr 7, 2019
1 parent 7ea6688 commit ec2ab99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HMRC/Environment/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Environment
private $env;

/** @var array of request headers which will be added in all requests in this environment */
private $request_headers = [];
private $requestHeaders = [];

private function __construct()
{
Expand Down Expand Up @@ -84,7 +84,7 @@ public function setToLive()
*/
public function setDefaultRequestHeaders(array $headers)
{
$this->request_headers = $headers;
$this->requestHeaders = $headers;
}

/**
Expand All @@ -94,7 +94,7 @@ public function setDefaultRequestHeaders(array $headers)
*/
public function getDefaultRequestHeaders(): array
{
return $this->request_headers;
return $this->requestHeaders;
}

/**
Expand Down

0 comments on commit ec2ab99

Please sign in to comment.