diff --git a/docs/annotating_code/supported_annotations.md b/docs/annotating_code/supported_annotations.md index 0337e9e7d41..62d26541eb4 100644 --- a/docs/annotating_code/supported_annotations.md +++ b/docs/annotating_code/supported_annotations.md @@ -509,7 +509,7 @@ class User { ### `@psalm-require-extends` -The `@psalm-require-extends` annotation allows you to define a requirements that a trait imposes on the using class. +The `@psalm-require-extends` annotation allows you to define the requirements that a trait imposes on the using class. ```php ``` -Passing `');alert('injection');//` as a `GET` param here would would cause the `alert` to trigger. +Passing `');alert('injection');//` as a `GET` param here would cause the `alert` to trigger. ## Mitigations diff --git a/docs/running_psalm/plugins/authoring_plugins.md b/docs/running_psalm/plugins/authoring_plugins.md index 494313970f1..cb683af324e 100644 --- a/docs/running_psalm/plugins/authoring_plugins.md +++ b/docs/running_psalm/plugins/authoring_plugins.md @@ -80,7 +80,7 @@ class SomePlugin implements \Psalm\Plugin\EventHandler\AfterStatementAnalysisInt - `AfterFunctionCallAnalysisInterface` - called after Psalm evaluates a function call to any function defined within the project itself. Can alter the return type or perform modifications of the call. - `AfterFunctionLikeAnalysisInterface` - called after Psalm has completed its analysis of a given function-like. - `AfterMethodCallAnalysisInterface` - called after Psalm analyzes a method call. -- `AfterStatementAnalysisInterface` - called after Psalm evaluates an statement. +- `AfterStatementAnalysisInterface` - called after Psalm evaluates a statement. - `BeforeFileAnalysisInterface` - called before Psalm analyzes a file. - `FunctionExistenceProviderInterface` - can be used to override Psalm's builtin function existence checks for one or more functions. - `FunctionParamsProviderInterface.php` - can be used to override Psalm's builtin function parameter lookup for one or more functions.