mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Code cleanup
This commit is contained in:
@@ -44,7 +44,6 @@ class CreateTokenRequest extends SpectreRequest
|
||||
/**
|
||||
*
|
||||
* @throws \FireflyIII\Exceptions\FireflyException
|
||||
* @throws \FireflyIII\Services\Spectre\Exception\SpectreException
|
||||
*/
|
||||
public function call(): void
|
||||
{
|
||||
|
||||
@@ -40,7 +40,6 @@ class ListAccountsRequest extends SpectreRequest
|
||||
private $login;
|
||||
|
||||
/**
|
||||
* @throws SpectreException
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function call(): void
|
||||
@@ -54,7 +53,7 @@ class ListAccountsRequest 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;
|
||||
|
||||
@@ -38,7 +38,6 @@ class ListCustomersRequest extends SpectreRequest
|
||||
/**
|
||||
*
|
||||
* @throws \FireflyIII\Exceptions\FireflyException
|
||||
* @throws \FireflyIII\Services\Spectre\Exception\SpectreException
|
||||
*/
|
||||
public function call(): void
|
||||
{
|
||||
@@ -51,7 +50,7 @@ class ListCustomersRequest 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;
|
||||
|
||||
@@ -41,7 +41,6 @@ class ListTransactionsRequest extends SpectreRequest
|
||||
|
||||
/**
|
||||
* @throws FireflyException
|
||||
* @throws SpectreException
|
||||
*/
|
||||
public function call(): void
|
||||
{
|
||||
@@ -54,7 +53,7 @@ class ListTransactionsRequest 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;
|
||||
|
||||
@@ -34,7 +34,6 @@ class NewCustomerRequest extends SpectreRequest
|
||||
|
||||
/**
|
||||
* @throws \FireflyIII\Exceptions\FireflyException
|
||||
* @throws \FireflyIII\Services\Spectre\Exception\SpectreException
|
||||
*/
|
||||
public function call(): void
|
||||
{
|
||||
|
||||
@@ -54,7 +54,6 @@ abstract class SpectreRequest
|
||||
*
|
||||
* @throws \Psr\Container\NotFoundExceptionInterface
|
||||
* @throws \Psr\Container\ContainerExceptionInterface
|
||||
* @throws \Illuminate\Container\EntryNotFoundException
|
||||
*/
|
||||
public function __construct(User $user)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user