Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:28 +01:00
parent 2eebcb21f1
commit f53923f16c
187 changed files with 429 additions and 482 deletions

View File

@@ -192,7 +192,6 @@ class CategoryRepository implements CategoryRepositoryInterface
}
return $category;
}
/**
@@ -210,7 +209,7 @@ class CategoryRepository implements CategoryRepositoryInterface
{
$dbNote = $category->notes()->first();
if (null === $dbNote) {
$dbNote = new Note;
$dbNote = new Note();
$dbNote->noteable()->associate($category);
}
$dbNote->text = trim($notes);

View File

@@ -33,7 +33,6 @@ use Illuminate\Support\Collection;
*/
interface CategoryRepositoryInterface
{
/**
* @param string $query
* @param int $limit

View File

@@ -84,7 +84,6 @@ class NoCategoryRepository implements NoCategoryRepositoryInterface
'amount' => app('steam')->negative($journal['amount']),
'date' => $journal['date'],
];
}
return $array;
@@ -137,7 +136,6 @@ class NoCategoryRepository implements NoCategoryRepositoryInterface
'amount' => app('steam')->positive($journal['amount']),
'date' => $journal['date'],
];
}
return $array;

View File

@@ -110,7 +110,6 @@ class OperationsRepository implements OperationsRepositoryInterface
'description' => $journal['description'],
'transaction_group_id' => $journal['transaction_group_id'],
];
}
return $array;
@@ -196,7 +195,6 @@ class OperationsRepository implements OperationsRepositoryInterface
'description' => $journal['description'],
'transaction_group_id' => $journal['transaction_group_id'],
];
}
return $array;
@@ -262,7 +260,6 @@ class OperationsRepository implements OperationsRepositoryInterface
'description' => $journal['description'],
'transaction_group_id' => $journal['transaction_group_id'],
];
}
return $array;
@@ -328,7 +325,6 @@ class OperationsRepository implements OperationsRepositoryInterface
'description' => $journal['description'],
'transaction_group_id' => $journal['transaction_group_id'],
];
}
return $array;