Merge branch 'master' of github.com:m6w6/pharext
[pharext/pharext] / src / pharext / Installer.php
index 7ff112a38c391ae65bd0d36b46a7d176d910c9e6..c30e11a5137d5c7a57f80013e3b6424d2d3f9000 100644 (file)
@@ -73,7 +73,7 @@ class Installer implements Command
                $phars[$this->tmp] = $phar;
 
                foreach ($phars as $phar) {
-                       if (($hook = $phar["pharext_install.php"])) {
+                       if (isset($phar["pharext_install.php"])) {
                                $callable = include $phar["pharext_install.php"];
                                if (is_callable($callable)) {
                                        $recv[] = $callable($this);