@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | public function fromArray(array $humanReadableArray) |
| 23 | 23 | {
|
| 24 | 24 | $fields = []; |
| 25 | - foreach($humanReadableArray as $key => $value) {
|
|
| 25 | + foreach ($humanReadableArray as $key => $value) {
|
|
| 26 | 26 | if (array_key_exists($key, $this->map)) {
|
| 27 | 27 | $fields[$this->map[$key]] = $value; |
| 28 | 28 | } |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | $flippedMap = array_flip($this->map); |
| 38 | 38 | $humanReadableArray = []; |
| 39 | 39 | |
| 40 | - foreach($fields as $key => $value) {
|
|
| 40 | + foreach ($fields as $key => $value) {
|
|
| 41 | 41 | if (array_key_exists($key, $flippedMap)) {
|
| 42 | 42 | $humanReadableArray[$flippedMap[$key]] = $value; |
| 43 | 43 | } |