@@ -160,8 +160,7 @@ discard block |
||
| 160 | 160 | 'Class' => get_class($record), |
| 161 | 161 | // TODO code smell |
| 162 | 162 | 'VerifiableFields' => $record->getSourceMode() === VerifiableExtension::SOURCE_MODE_FIELD ? |
| 163 | - json_decode($record->VerifiableFields) : |
|
| 164 | - [], |
|
| 163 | + json_decode($record->VerifiableFields) : [], |
|
| 165 | 164 | ], |
| 166 | 165 | 'Status' => [ |
| 167 | 166 | 'Nice' => $status, |
@@ -197,7 +196,7 @@ discard block |
||
| 197 | 196 | { |
| 198 | 197 | $refl = new \ReflectionClass(__CLASS__); |
| 199 | 198 | $const = array_search($status, $refl->getConstants()); |
| 200 | - $keyJson = file_get_contents(realpath(__DIR__) . '/../../statuses.json'); |
|
| 199 | + $keyJson = file_get_contents(realpath(__DIR__).'/../../statuses.json'); |
|
| 201 | 200 | $keyMap = json_decode($keyJson, true); |
| 202 | 201 | $defn = ''; |
| 203 | 202 | |