mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Remove unnecessary slash from in_array()
This commit is contained in:
@@ -67,7 +67,7 @@ class Account extends SpectreObject
|
||||
$this->nature = $data['nature'];
|
||||
$this->createdAt = new Carbon($data['created_at']);
|
||||
$this->updatedAt = new Carbon($data['updated_at']);
|
||||
$extraArray = \is_array($data['extra']) ? $data['extra'] : [];
|
||||
$extraArray = is_array($data['extra']) ? $data['extra'] : [];
|
||||
foreach ($extraArray as $key => $value) {
|
||||
$this->extra[$key] = $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user