We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -670,7 +670,8 @@ |
||
| 670 | 670 | } |
| 671 | 671 | } |
| 672 | 672 | |
| 673 | - return array_filter($allMdIds, function ($element) { |
|
| 673 | + return array_filter($allMdIds, function ($element) |
|
| 674 | + { |
|
| 674 | 675 | return !empty($element); |
| 675 | 676 | }); |
| 676 | 677 | } |
@@ -125,7 +125,8 @@ |
||
| 125 | 125 | |
| 126 | 126 | // Get additional video URLs |
| 127 | 127 | $videoUrl = []; |
| 128 | - if (!empty($thumbFiles = $this->findFiles($doc, 0, $thumbFileGroups))) { // 0 = for whole video (not just chapter) |
|
| 128 | + if (!empty($thumbFiles = $this->findFiles($doc, 0, $thumbFileGroups))) { |
|
| 129 | +// 0 = for whole video (not just chapter) |
|
| 129 | 130 | $videoUrl['poster'] = $thumbFiles[0]; |
| 130 | 131 | } |
| 131 | 132 | if (!empty($waveformFiles = $this->findFiles($doc, $pageNo, $waveformFileGroups))) { |