We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | <?php |
| 4 | 4 | // if the column has been cast to Carbon or Date (using attribute casting) |
| 5 | 5 | // get the value as a date string |
| 6 | - if (isset($field['value']) && ( $field['value'] instanceof \Carbon\Carbon || $field['value'] instanceof \Jenssegers\Date\Date )) { |
|
| 7 | - $field['value'] = $field['value']->format( 'Y-m-d' ); |
|
| 6 | + if (isset($field['value']) && ($field['value'] instanceof \Carbon\Carbon || $field['value'] instanceof \Jenssegers\Date\Date)) { |
|
| 7 | + $field['value'] = $field['value']->format('Y-m-d'); |
|
| 8 | 8 | } |
| 9 | 9 | ?> |
| 10 | 10 | |