Reformat various code.

This commit is contained in:
James Cole
2022-03-29 15:10:05 +02:00
parent 60786461a9
commit 123693096c
134 changed files with 336 additions and 141 deletions

View File

@@ -46,6 +46,9 @@ class FiscalHelper implements FiscalHelperInterface
* @param Carbon $date
*
* @return Carbon date object
* @throws FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function endOfFiscalYear(Carbon $date): Carbon
{
@@ -69,6 +72,8 @@ class FiscalHelper implements FiscalHelperInterface
*
* @return Carbon date object
* @throws FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function startOfFiscalYear(Carbon $date): Carbon
{

View File

@@ -63,6 +63,7 @@ class NetWorth implements NetWorthInterface
*
* @return array
* @throws JsonException
* @throws \FireflyIII\Exceptions\FireflyException
*/
public function getNetWorthByCurrency(Collection $accounts, Carbon $date): array
{

View File

@@ -40,6 +40,8 @@ trait UpdateTrait
*
* @return array
* @throws FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function getLatestRelease(): array
{