Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

«Each getter must have description with @return annotation. See Magento\Tax\Api\Data\TaxDetailsInterface::getSubtotal()» #2468

Closed
dmitrii-fediuk opened this issue Nov 22, 2015 · 2 comments

Comments

@dmitrii-fediuk
Copy link

Is it a bug?
http://magento.stackexchange.com/questions/90647
https://mage2.pro/t/topic/240/3

@davidalger
Copy link
Member

Closing as duplicate of #2555 since that one contains complete stack-trace information on issue.

@shwetabha
Copy link

In magento2, Take care of commenting in interface page. If you just add function without comment param type. It will return error. Example - interface AuthInterface {
/**

  • Test function
  • @api
  • @param $param string
  • @return string
    */
    public function test(); } You have to add the return type in comment section

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

No branches or pull requests

3 participants