Questions tagged [docblock]

Question about PHP DocBlock

Filter by
Sorted by
Tagged with
1
vote
1answer
292 views

Magento 2 — 2.3.1 “Each method must have a doc block. See Magento\Eav\Api\AttributeSetRepositoryInterface::getList()”

We are installing several modules and receiving the message Each method must have a doc block. See Magento\Eav\Api\AttributeSetRepositoryInterface::getList() after the command php bin/magento setup:...
2
votes
0answers
55 views

PHPDoc hints for magic methods

I have grown accustomed to the better PHPDoc coverage of Magento 2, so now it bothers me when the magic getters and setters are highlighted in red in my PhpStorm project files. In classes that I ...
4
votes
1answer
5k views

Magento 2 convert object to array

I am trying to convert a \Magento\Sales\Api\Data\OrderInterface object to an array using \Magento\Framework\Api\ExtensibleDataObjectConverter. I think it is not relevant here but I am using Magento CE ...