mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Code cleanup
This commit is contained in:
@@ -272,7 +272,7 @@ class ConfigureMappingHandler implements FileConfigurationInterface
|
||||
*
|
||||
* @return array
|
||||
* @throws FireflyException
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function getValuesForMapping(Reader $reader, array $config, array $columnConfig): array
|
||||
{
|
||||
|
||||
@@ -58,7 +58,7 @@ class ConfigureRolesHandler implements FileConfigurationInterface
|
||||
* @param array $config
|
||||
*
|
||||
* @return MessageBag
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function configurationComplete(array $config): MessageBag
|
||||
{
|
||||
|
||||
@@ -110,7 +110,7 @@ class ChooseAccountsHandler implements SpectreJobConfigurationInterface
|
||||
*
|
||||
* @return array
|
||||
* @throws FireflyException
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function getNextData(): array
|
||||
{
|
||||
|
||||
@@ -132,7 +132,7 @@ class ImportTransaction
|
||||
* @param ColumnValue $columnValue
|
||||
*
|
||||
* @throws FireflyException
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function addColumnValue(ColumnValue $columnValue): void
|
||||
{
|
||||
|
||||
@@ -60,7 +60,7 @@ class AssetAccountMapper
|
||||
* @param array $data
|
||||
*
|
||||
* @return Account
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function map(?int $accountId, array $data): Account
|
||||
{
|
||||
|
||||
@@ -81,7 +81,7 @@ class MappedValuesValidator
|
||||
*
|
||||
* @return array
|
||||
* @throws FireflyException
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function validate(array $mappings): array
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ class OpposingAccountMapper
|
||||
* @param array $data
|
||||
*
|
||||
* @return Account
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
public function map(?int $accountId, string $amount, array $data): Account
|
||||
{
|
||||
|
||||
@@ -108,7 +108,7 @@ class StageImportDataHandler
|
||||
* @param LocalAccount $originalSource
|
||||
*
|
||||
* @return array
|
||||
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
|
||||
*
|
||||
*/
|
||||
private function convertToArray(array $transactions, SpectreAccount $spectreAccount, LocalAccount $originalSource): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user