Skip to content

Conversation

@tijmenbruggeman
Copy link
Contributor

Added documentation for methods and variables using PHPDocblocks.
https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md

Should help static analysers like PHPStan to validate return values/params.

  • Every method should have a @return value
  • When refering to something else in the project, use @see

Further improvements:

  • Generate API documentation
  • Analyse our own project using PHPStan to confirm correct docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant