First version that supports Spectre.

This commit is contained in:
James Cole
2018-01-08 20:20:45 +01:00
parent a57554d380
commit 2edd49a8b4
9 changed files with 279 additions and 14 deletions

View File

@@ -179,6 +179,8 @@ class ImportJournal
*/
public function setValue(array $array)
{
$array['mapped'] = $array['mapped'] ?? null;
$array['value'] = $array['value'] ?? null;
switch ($array['role']) {
default:
throw new FireflyException(sprintf('ImportJournal cannot handle "%s" with value "%s".', $array['role'], $array['value']));