Skip to content

Commit

Permalink
Fixes bug with wrong URL in Downloadable trait
Browse files Browse the repository at this point in the history
  • Loading branch information
stephangroen committed Feb 21, 2018
1 parent 490aa64 commit 43eec7a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/Picqer/Financials/Exact/Persistance/Downloadable.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,13 @@ trait Downloadable
abstract function connection();

/**
* @return string
*/
abstract function url();

/**
* @return Binary representation of file
* @return mixed Binary representation of file
*/
public function download()
{
$client = new Client();

$uri = $this->url() . '&Download=1';
$uri = $this->Url . '&Download=1';

$headers = [
'Accept' => 'application/json',
Expand Down

0 comments on commit 43eec7a

Please sign in to comment.