This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
16
*/
17
public function updateSubmitErrors()
18
{
19
$array = array();
20
foreach ($this->owner->OrderItems() as $item) {
21
if (!$item->AllRequiredQuestionsAnswered()) {
22
$txt = _t("ProductQuestion.PROVIDE_MORE_INFORMATION", "Please answer question in relation to:");
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.