We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <!-- text input --> |
| 2 | 2 | <?php |
| 3 | 3 | |
| 4 | -$value = old($field['name']) ? (old($field['name'])) : (isset($field['value']) ? ($field['value']) : (isset($field['default']) ? ($field['default']) : '' )); |
|
| 4 | +$value = old($field['name']) ? (old($field['name'])) : (isset($field['value']) ? ($field['value']) : (isset($field['default']) ? ($field['default']) : '')); |
|
| 5 | 5 | |
| 6 | 6 | // if attribute casting is used, convert to JSON |
| 7 | 7 | if (is_array($value)) { |
| 8 | - $value = json_encode((object)$value); |
|
| 8 | + $value = json_encode((object) $value); |
|
| 9 | 9 | } elseif (is_object($value)) { |
| 10 | 10 | $value = json_encode($value); |
| 11 | 11 | } else { |