Code cleaning stuff.

This commit is contained in:
James Cole
2019-02-13 17:38:41 +01:00
parent 9a461fc7b7
commit 71fb9d8fa5
141 changed files with 495 additions and 482 deletions

View File

@@ -227,7 +227,7 @@ class ImportArrayStorage
throw new FireflyException('Could not encode import array. Please see the logs.');
// @codeCoverageIgnoreEnd
}
$hash = hash('sha256', $json, false);
$hash = hash('sha256', $json);
Log::debug(sprintf('The hash is: %s', $hash));
return $hash;
@@ -338,7 +338,7 @@ class ImportArrayStorage
'description' => null,
'latitude' => null,
'longitude' => null,
'zoom_level' => null,
'zoom_level' => null,
'tagMode' => 'nothing',
];
$tag = $repository->store($data);