]> granicus.if.org Git - php/commitdiff
Fix a typo in a class catch in Phar
authorTyson Andre <tysonandre775@hotmail.com>
Sun, 9 Sep 2018 00:45:10 +0000 (20:45 -0400)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 13 Sep 2018 09:48:42 +0000 (11:48 +0200)
ext/phar/phar/pharcommand.inc

index 07f1c34c9425bd31c46d05e22b0e02d68ef5e51d..86d8ad144e58db64389611a1ce4219dffe2b4408 100644 (file)
@@ -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");
                }
        }