Skip to content

Commit

Permalink
Add docs for usePhpDocMethodsWithoutMagicCall
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Apr 26, 2018
1 parent 861696f commit e26b46d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Psalm uses an XML config file. A barebones example looks like this:
whether or not to use types as defined in docblocks. Defaults to `true`.
- `useDocblockPropertyTypes=[bool]`<br />
if not using all docblock types, you can still use docblock property types. Defaults to `false` (though only relevant if `useDocblockTypes` is `false`.
- `usePhpDocMethodsWithoutMagicCall=[bool]`<br />
the PHPDoc `@method` annotation normally only applies to classes with a `__call` method. Setting this to `true` allows you to use the `@method` annotation to override inherited method return types. Defaults to `false`.
- `strictBinaryOperands=[bool]`<br />
if true we force strict typing on numerical and string operations (see https://github.com/vimeo/psalm/issues/24). Defaults to `false`.
- `requireVoidReturnType=[bool]`<br />
Expand Down

0 comments on commit e26b46d

Please sign in to comment.