Remove unnecessary slash from in_array()

This commit is contained in:
James Cole
2019-06-22 13:09:25 +02:00
parent 940a730827
commit 956ec23d3c
20 changed files with 34 additions and 34 deletions

View File

@@ -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;
}