Skip to content
Merged
3 changes: 2 additions & 1 deletion app/Console/AutoImports.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ private function getFiles(string $directory): array
foreach ($jsonFiles as $jsonFile) {
$fullJson = sprintf('%s/%s', $directory, $jsonFile);
if (!array_key_exists($fullJson, $return)) {
$return[$fullJson] = $fullJson;
$return[$fullJson] ??= [];
$return[$fullJson][] = $fullJson;
Log::debug(sprintf('Add JSON file to the list of things to import: %s', $fullJson));
}
}
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## v1.8.4 - 2025-10-14

### Fixed

- [Issue 11061](https://github.com/firefly-iii/firefly-iii/issues/11061) (Importing using `importer:auto-import` results in error "foreach() argument must be of type array|object, string given") reported by @jurgenhaas

## v1.8.3 - 2025-10-13

### Added
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
declare(strict_types=1);

return [
'version' => '1.8.3',
'build_time' => 1760266905,
'version' => '1.8.4',
'build_time' => 1760350294,
'flows' => ['nordigen', 'spectre', 'file', 'simplefin'],
'enabled_flows' => [
'nordigen' => true,
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.