fix metadata
authorMichael Wallner <mike@php.net>
Thu, 3 Sep 2015 14:10:19 +0000 (16:10 +0200)
committerMichael Wallner <mike@php.net>
Thu, 3 Sep 2015 14:48:21 +0000 (16:48 +0200)
bin/pharext
bin/pharext.update
src/pharext/Updater.php

index f5ca7497ddddc88d3b50f3b6552baa15e498c469..9053bad701183289c6fd998d2f38101d8343603f 100755 (executable)
Binary files a/bin/pharext and b/bin/pharext differ
index 02d2969069755fb9524003662aeb43c374ba25a2..bf1541b183e9da2e4519debef24d319e63ff23a1 100755 (executable)
Binary files a/bin/pharext.update and b/bin/pharext.update differ
index f7972a1405c3dd32e8b0a945422ffdecfd8b2f0d..e3a8b5109e1c8d00e0af2c36eaa8bfaedc4f8354 100644 (file)
@@ -121,7 +121,7 @@ class Updater implements Command
                $phar->setMetadata([
                        "version" => Metadata::version(),
                        "header" => Metadata::header(),
-               ] + $phar->getMetadata());
+               ] + (array) $phar->getMetadata());
 
                $this->info("Updated pharext version from '%s' to '%s'\n",
                        isset($meta["version"]) ? $meta["version"] : "(unknown)",