Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ private function getDownloadURLs(): array {
continue;
}

// If only one download URL exists, $urls is a string
$urls = (array)$urls;
foreach ($urls as $url) {
if (!is_string($url)) {
continue;
Expand Down
2 changes: 2 additions & 0 deletions lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,8 @@ private function getDownloadURLs(): array {
continue;
}

// If only one download URL exists, $urls is a string
$urls = (array)$urls;
foreach ($urls as $url) {
if (!is_string($url)) {
continue;
Expand Down
Binary file modified updater.phar
Binary file not shown.
28 changes: 14 additions & 14 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ComposerStaticInitcbbead1010db4afef500f7adc2b6cac3
);

public static $prefixLengthsPsr4 = array (
'S' =>
'S' =>
array (
'Symfony\\Polyfill\\Mbstring\\' => 26,
'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
Expand All @@ -26,58 +26,58 @@ class ComposerStaticInitcbbead1010db4afef500f7adc2b6cac3
'Symfony\\Component\\String\\' => 25,
'Symfony\\Component\\Console\\' => 26,
),
'P' =>
'P' =>
array (
'Psr\\Container\\' => 14,
),
'N' =>
'N' =>
array (
'NC\\Updater\\' => 11,
),
'B' =>
'B' =>
array (
'Bamarni\\Composer\\Bin\\' => 21,
),
);

public static $prefixDirsPsr4 = array (
'Symfony\\Polyfill\\Mbstring\\' =>
'Symfony\\Polyfill\\Mbstring\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
),
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
),
'Symfony\\Polyfill\\Intl\\Grapheme\\' =>
'Symfony\\Polyfill\\Intl\\Grapheme\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme',
),
'Symfony\\Polyfill\\Ctype\\' =>
'Symfony\\Polyfill\\Ctype\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
),
'Symfony\\Contracts\\Service\\' =>
'Symfony\\Contracts\\Service\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/service-contracts',
),
'Symfony\\Component\\String\\' =>
'Symfony\\Component\\String\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/string',
),
'Symfony\\Component\\Console\\' =>
'Symfony\\Component\\Console\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/console',
),
'Psr\\Container\\' =>
'Psr\\Container\\' =>
array (
0 => __DIR__ . '/..' . '/psr/container/src',
),
'NC\\Updater\\' =>
'NC\\Updater\\' =>
array (
0 => __DIR__ . '/../..' . '/lib',
),
'Bamarni\\Composer\\Bin\\' =>
'Bamarni\\Composer\\Bin\\' =>
array (
0 => __DIR__ . '/..' . '/bamarni/composer-bin-plugin/src',
),
Expand Down
Loading