com php-src: Fix a typo in a class catch in Phar: ext/phar/phar/pharcommand.inc
| From: | Christoph Michael Becker | Date: | Thu, 13 Sep 2018 09:48:42 +0000 |
| Subject: | com php-src: Fix a typo in a class catch in Phar: ext/phar/phar/pharcommand.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103098@lists.php.net to get a copy of this message | ||
Commit: 26f952b1759ffd81965913b3440753c1356487f6
Author: Tyson Andre <tysonandre775@hotmail.com> Sat, 8 Sep 2018 20:45:10 -0400
Committer: Christoph M. Becker <cmbecker69@gmx.de> Thu, 13 Sep 2018 11:48:42 +0200
Parents: 72bf2def6b718ae9ca243b6a9ab9a3a85d255f96
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=26f952b1759ffd81965913b3440753c1356487f6
Log:
Fix a typo in a class catch in Phar
Changed paths:
M ext/phar/phar/pharcommand.inc
Diff:
diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc
index 07f1c34..86d8ad1 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");
}
}