Various code cleanup.

This commit is contained in:
James Cole
2021-09-18 10:21:29 +02:00
parent 3589c9f60f
commit e829d79589
107 changed files with 225 additions and 220 deletions

View File

@@ -25,7 +25,6 @@ declare(strict_types=1);
namespace FireflyIII\Handlers\Events;
use FireflyIII\Events\StoredAccount;
use FireflyIII\Events\UpdatedAccount;
use FireflyIII\Services\Internal\Support\CreditRecalculateService;

View File

@@ -114,7 +114,7 @@ class UserEventHandler
* @param Login $event
*
* @return bool
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function demoUserBackToEnglish(Login $event): bool
{
@@ -136,7 +136,7 @@ class UserEventHandler
/**
* @param DetectedNewIPAddress $event
*
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function notifyNewIPAddress(DetectedNewIPAddress $event): void
{
@@ -178,7 +178,7 @@ class UserEventHandler
* @param UserChangedEmail $event
*
* @return bool
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function sendEmailChangeConfirmMail(UserChangedEmail $event): bool
{
@@ -204,7 +204,7 @@ class UserEventHandler
* @param UserChangedEmail $event
*
* @return bool
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function sendEmailChangeUndoMail(UserChangedEmail $event): bool
{
@@ -286,7 +286,7 @@ class UserEventHandler
* @param RegisteredUser $event
*
* @return bool
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function sendRegistrationMail(RegisteredUser $event): bool
{
@@ -319,7 +319,7 @@ class UserEventHandler
/**
* @param Login $event
*
* @throws \FireflyIII\Exceptions\FireflyException
* @throws FireflyException
*/
public function storeUserIPAddress(Login $event): void
{

View File

@@ -29,7 +29,6 @@ use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Helpers\Update\UpdateTrait;
use FireflyIII\Models\Configuration;
use FireflyIII\Repositories\User\UserRepositoryInterface;
use FireflyIII\User;
use Log;
/**