From 43eec7a17106dff1b887ebef01da4ad667254441 Mon Sep 17 00:00:00 2001 From: Stephan Groen Date: Wed, 21 Feb 2018 15:40:09 +0100 Subject: [PATCH] Fixes bug with wrong URL in Downloadable trait --- src/Picqer/Financials/Exact/Persistance/Downloadable.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Picqer/Financials/Exact/Persistance/Downloadable.php b/src/Picqer/Financials/Exact/Persistance/Downloadable.php index f85c441c..9d833f90 100644 --- a/src/Picqer/Financials/Exact/Persistance/Downloadable.php +++ b/src/Picqer/Financials/Exact/Persistance/Downloadable.php @@ -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',