Skip to content

PHPdoc annotations #18

@achimha

Description

@achimha

Given that you're actively working on it, I thought I'd better ask before sending a pull request.

The PHPdoc is incorrect in a lot of places which makes an IDE like PhpStorm spit out a lot of warnings. The issues mainly are:

  • namespace references are often fritak* whereas they should be \fritak* with a leading backslash, otherwise a consumer with its own namespace will not work correctly
  • missing @param/@return in constructors
  • sender parameter should be int|\fritak\MessengerPlatform\UserRecipient like given in the description below
  • what is "public function sendComplexMeesage($message)"? I suppose a spelling mistake?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions