Update some code.

This commit is contained in:
James Cole
2021-05-13 06:17:53 +02:00
parent 7453975e92
commit 7851bb476e
8 changed files with 14 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
namespace FireflyIII\Console\Commands\Upgrade; namespace FireflyIII\Console\Commands\Upgrade;

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* StoredAccount.php * StoredAccount.php
* Copyright (c) 2021 james@firefly-iii.org * Copyright (c) 2021 james@firefly-iii.org
@@ -43,4 +44,4 @@ class StoredAccount extends Event
$this->account = $account; $this->account = $account;
} }
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* StoredAccount.php * StoredAccount.php
* Copyright (c) 2021 james@firefly-iii.org * Copyright (c) 2021 james@firefly-iii.org
@@ -43,4 +44,4 @@ class UpdatedAccount extends Event
$this->account = $account; $this->account = $account;
} }
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* StoredAccountEventHandler.php * StoredAccountEventHandler.php
* Copyright (c) 2021 james@firefly-iii.org * Copyright (c) 2021 james@firefly-iii.org
@@ -41,4 +42,4 @@ class StoredAccountEventHandler
$object->recalculate(); $object->recalculate();
} }
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* UpdatedAccountEventHandler.php * UpdatedAccountEventHandler.php
* Copyright (c) 2021 james@firefly-iii.org * Copyright (c) 2021 james@firefly-iii.org
@@ -42,4 +43,4 @@ class UpdatedAccountEventHandler
$object->setAccount($account); $object->setAccount($account);
$object->recalculate(); $object->recalculate();
} }
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* CreditRecalculateService.php * CreditRecalculateService.php
* Copyright (c) 2021 james@firefly-iii.org * Copyright (c) 2021 james@firefly-iii.org
@@ -266,4 +267,4 @@ class CreditRecalculateService
} }
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* LiabilityValidation.php * LiabilityValidation.php
* Copyright (c) 2021 james@firefly-iii.org * Copyright (c) 2021 james@firefly-iii.org
@@ -93,4 +94,4 @@ trait LiabilityValidation
return $result ?? false; return $result ?? false;
} }
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;