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

@@ -43,7 +43,6 @@ class AutomationHandler
* @param RequestedReportOnJournals $event
*
* @return bool
* @throws FireflyException
*/
public function reportJournals(RequestedReportOnJournals $event): bool
{

View File

@@ -37,6 +37,7 @@ class BillEventHandler
/**
* @param WarnUserAboutBill $event
* @return void
* @throws \FireflyIII\Exceptions\FireflyException
*/
public function warnAboutBill(WarnUserAboutBill $event): void
{

View File

@@ -332,11 +332,11 @@ class UserEventHandler
/**
* @param ActuallyLoggedIn $event
* @throws FireflyException
*/
public function storeUserIPAddress(ActuallyLoggedIn $event): void
{
Log::debug('Now in storeUserIPAddress');
/** @var User $user */
$user = $event->user;
/** @var array $preference */
try {

View File

@@ -44,6 +44,8 @@ class VersionCheckEventHandler
* @param RequestedVersionCheckStatus $event
*
* @throws FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
public function checkForUpdates(RequestedVersionCheckStatus $event): void
{
@@ -90,6 +92,8 @@ class VersionCheckEventHandler
* @param RequestedVersionCheckStatus $event
*
* @throws FireflyException
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*/
protected function warnToCheckForUpdates(RequestedVersionCheckStatus $event): void
{