diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 6099e85..9a2895f 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -4,7 +4,7 @@ Upgrading from PHP-Parser 2.x to 3.0 The backwards-incompatible changes in this release may be summarized as follows: * The specific details of the node representation have changed in some cases, primarily to - accomodate new PHP 7.1 features. + accommodate new PHP 7.1 features. * There have been significant changes to the error recovery implementation. This may affect you, if you used the error recovery mode or have a custom lexer implementation. * A number of deprecated methods were removed. diff --git a/lib/PhpParser/Error.php b/lib/PhpParser/Error.php index 24478e3..cedb412 100644 --- a/lib/PhpParser/Error.php +++ b/lib/PhpParser/Error.php @@ -61,7 +61,7 @@ class Error extends \RuntimeException } /** - * Sets the attributes of the node/token the error occured at. + * Sets the attributes of the node/token the error occurred at. * * @param array $attributes */