View Issue Details

IDProjectCategoryView StatusLast Update
0006368OXID eShop (all versions)4.07. Source code, Testpublic2016-05-16 10:55
ReporterAlexN 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.9.7 / 5.2.7 
Target VersionFixed in Version6.0.0-beta.1 
Summary0006368: OXID API, wrong phpDOC for oxwArticleDetails::isPriceAlarm
DescriptionAccording to phpDOC the method returns an object but when looking into the method body it returns an integer - either 0 or 1. Further a word is missing in the comment "Returns if price alarm is disabled".

In any case the phpDOC has to be updated. Beside that 0/1 should be changed to a boolean, should it?

Docu: http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.9.7/classoxw_article_details.html#a76c3078e4c3ed37f750114fa3a536382
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
MySQL VersionNot defined

Activities

alfredbez

2016-04-23 13:29

reporter   ~0011542

https://github.com/OXID-eSales/oxideshop_ce/pull/359

anton.fedurtsya

2016-05-16 10:54

manager   ~0011584

Thank you! Pull request merged to master.