We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | ]; |
| 283 | 283 | } |
| 284 | 284 | // create an array that includes years without issues |
| 285 | - if (!empty($this->settings['showEmptyYears'])){ |
|
| 285 | + if (!empty($this->settings['showEmptyYears'])) { |
|
| 286 | 286 | $yearFilled = []; |
| 287 | 287 | $min = $yearArray[0]['title']; |
| 288 | 288 | // round the starting decade down to zero for equal rows |
@@ -291,11 +291,9 @@ discard block |
||
| 291 | 291 | // if we have an actual documentId it should be used, otherwise leave empty |
| 292 | 292 | for($i = 0; $i < $max-$min+1; $i++) { |
| 293 | 293 | $key = array_search($min+$i,array_column($yearArray, 'title')); |
| 294 | - if (is_int($key)) |
|
| 295 | - { |
|
| 294 | + if (is_int($key)) { |
|
| 296 | 295 | $yearFilled[] = $yearArray[$key]; |
| 297 | - } |
|
| 298 | - else { |
|
| 296 | + } else { |
|
| 299 | 297 | $yearFilled[] = ['title' => $min+$i, 'documentId' => '']; |
| 300 | 298 | } |
| 301 | 299 | } |