Skip to content
Permalink
Browse files

Fix typos with codespell (#1870)

  • Loading branch information...
TysonAndre authored and muglug committed Jun 28, 2019
1 parent 62c37a8 commit 220513c5f26f85bc9ca2de318811d2b3422f8023
@@ -141,13 +141,13 @@ $a->bar = 5; // this call fails
### `@psalm-internal`

Used to mark a class, property or function as internal to a given namespace. Psalm treats this slightly differently to
the PHPDoc `@internal` tag. For `@internal`, an issue is raised if the calling code is in a namespace completly
the PHPDoc `@internal` tag. For `@internal`, an issue is raised if the calling code is in a namespace completely
unrelated to the namespace of the calling code, i.e. not sharing the first element of the namespace.

In contrast for `@psalm-internal`, the docbloc line must specify a namespace. An issue is raised if the calling code
is not within the given namespace.

As other tools do not support `@psalm-internal`, it may only be used in conjuction with `@internal`.
As other tools do not support `@psalm-internal`, it may only be used in conjunction with `@internal`.

```PHP
namespace A\B {
@@ -21,10 +21,10 @@ class SomePlugin implements \Psalm\Plugin\Hook\AfterStatementAnalysisInterface
- `AfterMethodCallAnalysisInterface` - called after Psalm analyzes a method call.
- `AfterStatementAnalysisInterface` - called after Psalm evaluates an statement.
- `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 paramter lookup for one or more functions.
- `FunctionParamsProviderInterface.php` - can be used to override Psalm's builtin function parameter lookup for one or more functions.
- `FunctionReturnTypeProviderInterface` - can be used to override Psalm's builtin function return type lookup for one or more functions.
- `MethodExistenceProviderInterface` - can be used to override Psalm's builtin method existence checks for one or more classes.
- `MethodParamsProviderInterface` - can be used to override Psalm's builtin method paramter lookup for one or more classes.
- `MethodParamsProviderInterface` - can be used to override Psalm's builtin method parameter lookup for one or more classes.
- `MethodReturnTypeProviderInterface` - can be used to override Psalm's builtin method return type lookup for one or more classes.
- `MethodVisibilityProviderInterface` - can be used to override Psalm's builtin method visibility checks for one or more classes.
- `PropertyExistenceProviderInterface` - can be used to override Psalm's builtin property existence checks for one or more classes.
@@ -63,7 +63,7 @@ All scalar types have literal versions e.g. `int` vs `int(5)`.

#### Floats

`TFloat` - denotes the `float` type, where the exact value is unkown.
`TFloat` - denotes the `float` type, where the exact value is unknown.

`TLiteralFloat` is used to represent a floating point value where the exact numeric value is known.

0 comments on commit 220513c

Please sign in to comment.
You can’t perform that action at this time.