From: Tyson Andre Date: Sun, 9 Sep 2018 00:45:10 +0000 (-0400) Subject: Fix a typo in a class catch in Phar X-Git-Tag: php-7.4.0alpha1~1929^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26f952b1759ffd81965913b3440753c1356487f6;p=php Fix a typo in a class catch in Phar --- 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"); } }