Skip to content

Commit

Permalink
PHP CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
subiabre committed Jul 2, 2024
1 parent 8dbbdb0 commit 8e559f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Entity/Accounting.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Accounting

public function __construct()
{
/**
/*
* TO-DO: This property must be loaded from App's configuration,
* ideally a configuration that can be updated via a frontend, not env var only
*/
Expand Down Expand Up @@ -169,7 +169,7 @@ public function getTransactions(): Collection
{
$transactions = [
...$this->getTransactionsIssued()->toArray(),
...$this->getTransactionsReceived()->toArray()
...$this->getTransactionsReceived()->toArray(),
];

\usort($transactions, function ($a, $b) {
Expand Down
2 changes: 0 additions & 2 deletions tests/Entity/AccountingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public function testAccountingGetsUpdatedByPersistingTransactions()
$accA = new Accounting();
$accA->setTipjar($tipjarA);


$tipjarB = new Tipjar();
$tipjarB->setName('TEST_TIPJAR_B');

Expand Down Expand Up @@ -77,7 +76,6 @@ public function testAccountingSortsMixedTransactions()
$accA = new Accounting();
$accA->setTipjar($tipjarA);


$tipjarB = new Tipjar();
$tipjarB->setName('TEST_TIPJAR_B');

Expand Down

0 comments on commit 8e559f3

Please sign in to comment.