Upgrade spectre to v4

This commit is contained in:
James Cole
2018-04-28 05:25:29 +02:00
parent 85d655d3e2
commit bc8bcf7a1a
12 changed files with 102 additions and 68 deletions

View File

@@ -23,6 +23,7 @@ declare(strict_types=1);
namespace FireflyIII\Services\Spectre\Request;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Services\Spectre\Object\Customer;
use FireflyIII\Services\Spectre\Object\Login;
use Log;
@@ -39,9 +40,7 @@ class ListLoginsRequest extends SpectreRequest
private $logins = [];
/**
*
* @throws \FireflyIII\Services\Spectre\Exception\SpectreException
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function call(): void
{
@@ -54,7 +53,7 @@ class ListLoginsRequest extends SpectreRequest
$response = $this->sendSignedSpectreGet($uri, []);
// count entries:
Log::debug(sprintf('Found %d entries in data-array', count($response['data'])));
Log::debug(sprintf('Found %d entries in data-array', \count($response['data'])));
// extract next ID
$hasNextPage = false;