Yoast-SEO-for-Magento2 icon indicating copy to clipboard operation
Yoast-SEO-for-Magento2 copied to clipboard

Fix a casing issue with the PHPDoc in the search results interface.

Open jasonevans1 opened this issue 6 years ago • 2 comments

What you were trying to achieve.

  • With the Yoast SEO extension installed on Magento 2.2.5. I am trying to use swagger (https://example.test/swagger?store=default).

What you were expecting to happen.

  • I am expected swagger to load and work.

What actually happened, illustrated with screenshots if possible.

  • The swagger documentation is no longer working. I am getting the error: Failed to load API definition.
  • The URL https://example.test/rest/default/schema?services=all is showing this error message: Class "\MaxServ\YoastSEO\Api\Data\AnalysisTemplateInterface[]" does not exist. Please note that namespace must be specified.

This pull request is to fix the namespace in the phpdocs in the class AnalysisTemplateSearchResultsInterface. I changed YoastSEO to YoastSeo.

jasonevans1 avatar Oct 05 '18 21:10 jasonevans1

This is a no-brainer. Please merge!

sprankhub avatar Jan 28 '19 10:01 sprankhub

This is a no-brainer. Please merge!

Inbound.

rmeeuwissen avatar Feb 18 '19 12:02 rmeeuwissen