mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove unnecessary slash from in_array()
This commit is contained in:
@@ -224,7 +224,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
public function getExtendedStatus(ImportJob $job): array
|
||||
{
|
||||
$status = $job->extended_status;
|
||||
if (\is_array($status)) {
|
||||
if (is_array($status)) {
|
||||
return $status;
|
||||
}
|
||||
|
||||
|
@@ -563,7 +563,7 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
|
||||
$value = $entry->data;
|
||||
|
||||
if (\is_array($value)) {
|
||||
if (is_array($value)) {
|
||||
$return = implode(',', $value);
|
||||
$cache->store($return);
|
||||
|
||||
|
Reference in New Issue
Block a user