Skip to content

Commit

Permalink
Fix reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
pensiero committed May 22, 2016
1 parent 6b62e52 commit ae65ab4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ArtaxComposer/Service/ArtaxService.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,12 @@ public function reset()
$this->cacheTtl = null;
$this->headers = [];
$this->headersToReturn = [];
$this->debug = false;

// default headers specificied in config
if (isset($this->config['default_headers'])) {
$this->setHeaders($this->config['default_headers']);
}

return $this;
}
Expand Down

0 comments on commit ae65ab4

Please sign in to comment.