Code cleanup

This commit is contained in:
James Cole
2018-04-28 06:23:13 +02:00
parent 6f0e1c79ac
commit 13b78bdc20
218 changed files with 621 additions and 681 deletions

View File

@@ -44,7 +44,6 @@ class CreateTokenRequest extends SpectreRequest
/**
*
* @throws \FireflyIII\Exceptions\FireflyException
* @throws \FireflyIII\Services\Spectre\Exception\SpectreException
*/
public function call(): void
{

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -34,7 +34,6 @@ class NewCustomerRequest extends SpectreRequest
/**
* @throws \FireflyIII\Exceptions\FireflyException
* @throws \FireflyIII\Services\Spectre\Exception\SpectreException
*/
public function call(): void
{

View File

@@ -54,7 +54,6 @@ abstract class SpectreRequest
*
* @throws \Psr\Container\NotFoundExceptionInterface
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Illuminate\Container\EntryNotFoundException
*/
public function __construct(User $user)
{