mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Various code cleanup.
This commit is contained in:
@@ -121,7 +121,7 @@ class ConvertToDeposit implements ActionInterface
|
||||
* Is converted to a deposit from C to A.
|
||||
*
|
||||
* @throws FireflyException
|
||||
* */
|
||||
*/
|
||||
private function convertWithdrawalArray(TransactionJournal $journal): bool
|
||||
{
|
||||
$user = $journal->user;
|
||||
@@ -210,7 +210,7 @@ class ConvertToDeposit implements ActionInterface
|
||||
* The source account is replaced.
|
||||
*
|
||||
* @throws FireflyException
|
||||
* */
|
||||
*/
|
||||
private function convertTransferArray(TransactionJournal $journal): bool
|
||||
{
|
||||
$user = $journal->user;
|
||||
|
@@ -51,6 +51,7 @@ class ConvertToTransfer implements ActionInterface
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
* @SuppressWarnings(PHPMD.NPathComplexity)
|
||||
*/
|
||||
public function actOnArray(array $journal): bool
|
||||
{
|
||||
|
@@ -116,7 +116,7 @@ class ConvertToWithdrawal implements ActionInterface
|
||||
|
||||
/**
|
||||
* @throws FireflyException
|
||||
* */
|
||||
*/
|
||||
private function convertDepositArray(TransactionJournal $journal): bool
|
||||
{
|
||||
$user = $journal->user;
|
||||
@@ -202,7 +202,7 @@ class ConvertToWithdrawal implements ActionInterface
|
||||
* Output is a withdrawal from A to C.
|
||||
*
|
||||
* @throws FireflyException
|
||||
* */
|
||||
*/
|
||||
private function convertTransferArray(TransactionJournal $journal): bool
|
||||
{
|
||||
// find or create expense account.
|
||||
|
Reference in New Issue
Block a user