summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-09-13 13:38:27 +0300
committerDmitry Stogov <dmitry@zend.com>2018-09-13 13:38:27 +0300
commit50b515f1a2c1bc3f8423f206a361df5799fd4bc1 (patch)
tree6964c2dc02408710fc500d3a22b46b72c7428931
parentbc288c47230919c326b82133ff5306f4eff690b4 (diff)
parent26f952b1759ffd81965913b3440753c1356487f6 (diff)
downloadphp-git-50b515f1a2c1bc3f8423f206a361df5799fd4bc1.tar.gz
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src: Fix a typo in a class catch in Phar
-rw-r--r--ext/phar/phar/pharcommand.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc
index 07f1c34c94..86d8ad144e 100644
--- a/ext/phar/phar/pharcommand.inc
+++ b/ext/phar/phar/pharcommand.inc
@@ -648,7 +648,7 @@ class PharCommand extends CLICommand
self::phar_add_file($phar, $level, $dir->getSubPathName(), $file, $compress, $noloader);
}
}
- } catch(Excpetion $e) {
+ } catch(Exception $e) {
self::error("Unable to complete operation on file '$file'\n" . $e->getMessage() . "\n");
}
}